Without this the function will be use an Arm subtarget, meaning the instructions in it will be invalid for the current subtarget.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Oh. The test is that we turn on ARM_MC::verifyInstructionPredicates and it doesn't it asserts in the existing tests, especially llvm/test/CodeGen/ARM/speculation-hardening-sls-boththunks.ll. I think this is the last piece that is missing from the llvm-tests. I can try and see if I can make something more specific to this change.