[PATCH] D43445: [X86] Improve getScalarShiftAmountTy handling of illegal integer types (PR36250)
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 18 12:46:30 PST 2018
craig.topper added a comment.
I think for the particular bug here is to do this
EVT ShiftTy = DCI.isBeforeLegalize()
? getPointerTy(DL)
: getShiftAmountTy(N0.getValueType(), DL);
to get the shift amount type for the two getShiftAmountTy calls in simplifySetCC that aren't already doing this.
Repository:
rL LLVM
https://reviews.llvm.org/D43445
More information about the llvm-commits
mailing list