[PATCH] D25987: [X86] New pattern to generate PSUBUS from SELECT
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 8 08:06:04 PST 2016
RKSimon added inline comments.
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:27379
+ SDValue SaturationConst = DAG.getConstant(
+ APInt::getMaxValue(VT.getScalarType().getSizeInBits())
+ .getLimitedValue(),
----------------
If you replace this with VT.getScalarSizeInBits() then clang-format might be able to do a better job
https://reviews.llvm.org/D25987
More information about the llvm-commits
mailing list