mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 15:00:10 +01:00
radeon/llvm: Fix Evergreen/Cayman tablegen predicates
Some Evergreen/Cayman instructions were being enabled for SI.
This commit is contained in:
parent
96956dc507
commit
4d11a6a0c7
1 changed files with 3 additions and 1 deletions
|
|
@ -227,7 +227,9 @@ def isEG : Predicate<"Subtarget.device()"
|
|||
def isCayman : Predicate<"Subtarget.device()"
|
||||
"->getDeviceFlag() == OCL_DEVICE_CAYMAN">;
|
||||
def isEGorCayman : Predicate<"Subtarget.device()"
|
||||
"->getGeneration() >= AMDILDeviceInfo::HD5XXX">;
|
||||
"->getGeneration() == AMDILDeviceInfo::HD5XXX"
|
||||
"|| Subtarget.device()->getGeneration() =="
|
||||
"AMDILDeviceInfo::HD6XXX">;
|
||||
|
||||
def isR600toCayman : Predicate<
|
||||
"Subtarget.device()->getGeneration() <= AMDILDeviceInfo::HD6XXX">;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue