aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFrameInfo.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2020-04-05 22:35:01 -0700
committerCraig Topper <craig.topper@gmail.com>2020-04-05 22:44:45 -0700
commit97e57f3b24509efcadf83eb7436c044a2becd973 (patch)
treedb9d0b2eba591f4ce3252bccc88719a8e6ef4c91 /llvm/lib/CodeGen/MachineFrameInfo.cpp
parent931c0cd713ee9b082389727bed1b518c6a44344f (diff)
downloadllvm-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