llvm-project
3170345e - [X86] Fix LEA compression on 64 bit (#166334)

Commit
3 days ago
[X86] Fix LEA compression on 64 bit (#166334) NDD ADD is only supported on 64 bit, but `LEA32` has `Requires<[Not64BitMode]>`. The reason it doesnt fail upstream is that the predicates check is commented out on `X86MCInstLower.cpp`: ``` // FIXME: Enable feature predicate checks once all the test pass. // X86_MC::verifyInstructionPredicates(MI->getOpcode(), // Subtarget->getFeatureBits()); ``` Introduced by: https://github.com/llvm/llvm-project/pull/158254
Author
Parents
Loading