diff options
author | Craig Topper <craig.topper@gmail.com> | 2020-04-05 22:35:01 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2020-04-05 22:44:45 -0700 |
commit | 97e57f3b24509efcadf83eb7436c044a2becd973 (patch) | |
tree | db9d0b2eba591f4ce3252bccc88719a8e6ef4c91 /llvm/lib/CodeGen/MachineFrameInfo.cpp | |
parent | 931c0cd713ee9b082389727bed1b518c6a44344f (diff) | |
download | llvm-97e57f3b24509efcadf83eb7436c044a2becd973.zip llvm-97e57f3b24509efcadf83eb7436c044a2becd973.tar.gz llvm-97e57f3b24509efcadf83eb7436c044a2becd973.tar.bz2 |
[DAGCombiner] Use getAnyExtOrTrunc instead of getSExtOrTrunc in the zext(setcc) combine.
We're ANDing with 1 right after which will cause the SIGN_EXTEND to
be combined to ANY_EXTEND later. Might as well just start with an
ANY_EXTEND.
While there replace create the AND using the getZeroExtendInReg
helper to remove the need to explicitly create the VecOnes constant.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFrameInfo.cpp')
0 files changed, 0 insertions, 0 deletions