aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2020-02-20 21:38:49 -0800
committerCraig Topper <craig.topper@gmail.com>2020-02-20 21:41:13 -0800
commit457660683154014db4b649e852d152354844338a (patch)
tree98700810cc40b7e645c5fae1e99c5322351f1921 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentefeafa1bdaa715733fc100bcd9d21f93c7272368 (diff)
downloadllvm-457660683154014db4b649e852d152354844338a.zip
llvm-457660683154014db4b649e852d152354844338a.tar.gz
llvm-457660683154014db4b649e852d152354844338a.tar.bz2
[X86] Remove unnecessary isNullConstant in LowerSelect. NFC
At this point in the code we know that Op1 or Op2 is all ones. Y points to the other operand. In the case that Op2 is zero, Op1 must be all ones and Y is Op2. The OR ORs Y into Res. But if Y is 0 the OR will be folded away by getNode so we don't need to check for it.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions