summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclCXX.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-09-09 17:25:35 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-09-09 17:25:35 +0000
commitd2a9516a6d08c3edd7c5484f4d10f4b38b48c9d6 (patch)
treee4b8f2a1b0c25547297afc39f1a3a8230aba2dbf /clang/lib/Sema/SemaDeclCXX.cpp
parentc0728eac15b416206a715f4ee84e5956aa169c91 (diff)
downloadbcm5719-llvm-d2a9516a6d08c3edd7c5484f4d10f4b38b48c9d6.tar.gz
bcm5719-llvm-d2a9516a6d08c3edd7c5484f4d10f4b38b48c9d6.zip
AMDGPU: Move MnemonicAlias out of instruction def hierarchy
Unfortunately MnemonicAlias defines a "Predicates" field just like an instruction or pattern, with a somewhat different interpretation. This ends up overriding the intended Predicates set by PredicateControl on the pseudoinstruction defintions with an empty list. This allowed incorrectly selecting instructions that should have been rejected due to the SubtargetPredicate from patterns on the instruction definition. This does remove the divergent predicate from the 64-bit shift patterns, which were already not used for the 32-bit shift, so I'm not sure what the point was. This also removes a second, redundant copy of the 64-bit divergent patterns. llvm-svn: 371427
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud