If the LHS has known zeros, the RHS immediate will have had bits removed. So call computeKnownBits to get the known zeroes so we can handle this case.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/trunk/lib/Target/X86/X86InstrCompiler.td | ||
---|---|---|
1803 ↗ | (On Diff #188230) | @craig.topper This looks like a typo - shouldn't it be ShiftMask64 for the GR64 case? |
llvm/trunk/lib/Target/X86/X86InstrCompiler.td | ||
---|---|---|
1803 ↗ | (On Diff #188230) | Yeah that does look like a typo. Must have copy/pasted too much. |