diff options
author | Tom Stellard <[email protected]> | 2012-08-31 10:46:56 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-08-31 12:54:58 -0400 |
commit | 124754973402d0702ed8e08b7b6c521637613383 (patch) | |
tree | 5b43afedc45a993d99805a8fa067dcfc7bb39e64 /src | |
parent | ee45dec7c4a673cfa3ce158bdfb7df8aa4282f92 (diff) |
radeon/llvm: Fix isEG tablegen predicate
This predicate incorrectly included SI GPUs, so some Evergreen
instructions were being emmitted on SI.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/radeon/R600Instructions.td | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td index 519f384cdeb..7e2deac8b00 100644 --- a/src/gallium/drivers/radeon/R600Instructions.td +++ b/src/gallium/drivers/radeon/R600Instructions.td @@ -218,9 +218,11 @@ def isR700 : Predicate<"Subtarget.device()" "->getGeneration() == AMDGPUDeviceInfo::HD4XXX &&" "Subtarget.device()->getDeviceFlag()" ">= OCL_DEVICE_RV710">; -def isEG : Predicate<"Subtarget.device()" - "->getGeneration() >= AMDGPUDeviceInfo::HD5XXX && " - "Subtarget.device()->getDeviceFlag() != OCL_DEVICE_CAYMAN">; +def isEG : Predicate< + "Subtarget.device()->getGeneration() >= AMDGPUDeviceInfo::HD5XXX && " + "Subtarget.device()->getGeneration() < AMDGPUDeviceInfo::HD7XXX && " + "Subtarget.device()->getDeviceFlag() != OCL_DEVICE_CAYMAN">; + def isCayman : Predicate<"Subtarget.device()" "->getDeviceFlag() == OCL_DEVICE_CAYMAN">; def isEGorCayman : Predicate<"Subtarget.device()" |