aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2020-02-04 11:25:24 -0800
committerCraig Topper <craig.topper@intel.com>2020-02-04 12:19:34 -0800
commite195ff98f6cc2f868d5f8c19d2ab93cfb3a2cb65 (patch)
treeb4b1b1c3db0faf7d96e9a141fde0d28c7d062f54 /clang/lib/Frontend/CompilerInvocation.cpp
parentf0fb09c33e390db16e47cc03a01d0e6f4578e0a7 (diff)
downloadllvm-e195ff98f6cc2f868d5f8c19d2ab93cfb3a2cb65.zip
llvm-e195ff98f6cc2f868d5f8c19d2ab93cfb3a2cb65.tar.gz
llvm-e195ff98f6cc2f868d5f8c19d2ab93cfb3a2cb65.tar.bz2
Recommit "[X86] Use X86ISD::SUB instead of X86ISD::CMP in some places."
This time with correct types for the data result from the SUB. Original commit message: Our normal lowering for ISD::SETCC uses X86ISD::SUB to enable CSE unless the RHS is 0. optimizeCompareInstr called by the peephole pass can turn subs with unused results into cmps to clean this up. This commit makes other places that create X86ISD::CMP have the same behavior.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions