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
- Repository
- rL LLVM
Event Timeline
llvm/trunk/lib/Target/X86/X86InstrCompiler.td | ||
---|---|---|
1803 | @craig.topper This looks like a typo - shouldn't it be ShiftMask64 for the GR64 case? |
llvm/trunk/lib/Target/X86/X86InstrCompiler.td | ||
---|---|---|
1803 | Yeah that does look like a typo. Must have copy/pasted too much. |
@craig.topper This looks like a typo - shouldn't it be ShiftMask64 for the GR64 case?