This is similar to D37843, but for sub_8bit. This fixes all of the patterns except for the 2 that emit only an EXTRACT_SUBREG. That causes a verifier error with global isel because global isel doesn't know to issue the ABCD when doing this extract on 32-bits targets.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Out of interest, can you test this with -DLLVM_ENABLE_EXPENSIVE_CHECKS=true and llvm.X86TargetMachine.isMachineVerifierClean set to true? To see if any new failures occur compared to PR27481?
Comment Actions
Ran with ENABLE_EXPENSIVE_CHECKS and llvm.X86TargetMachine.isMachineVerifierClean and got the same failures as PR27481