diff options
author | Craig Topper <craig.topper@gmail.com> | 2020-02-20 21:38:49 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2020-02-20 21:41:13 -0800 |
commit | 457660683154014db4b649e852d152354844338a (patch) | |
tree | 98700810cc40b7e645c5fae1e99c5322351f1921 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | efeafa1bdaa715733fc100bcd9d21f93c7272368 (diff) | |
download | llvm-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