aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-01-21 23:21:05 -0800
committerCraig Topper <craig.topper@sifive.com>2021-01-21 23:56:37 -0800
commit5660dc5968ec6dacba1917b741d660c582f69e9e (patch)
tree6b5ce55ca2028b7eda22772ca6a21d8c76e84fa8 /clang/lib/Frontend/CompilerInvocation.cpp
parent541d98efa222b00e16c67348810898c2fa11f398 (diff)
downloadllvm-5660dc5968ec6dacba1917b741d660c582f69e9e.zip
llvm-5660dc5968ec6dacba1917b741d660c582f69e9e.tar.gz
llvm-5660dc5968ec6dacba1917b741d660c582f69e9e.tar.bz2
[TargetLowering] Simplify some code in SimplifySetCC that tries to handle SIGN_EXTEND_INREG operand types that should never happen. NFCI
There was code to handle the first operand being different than the result type. And code to handle first operand having the same type as the type to extend from. This should never happen for a correctly formed SIGN_EXTEND_INREG. I've replace the code with asserts. I also noticed we created the same APInt twice so I've reused it.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions