diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-01-21 23:21:05 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-01-21 23:56:37 -0800 |
commit | 5660dc5968ec6dacba1917b741d660c582f69e9e (patch) | |
tree | 6b5ce55ca2028b7eda22772ca6a21d8c76e84fa8 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 541d98efa222b00e16c67348810898c2fa11f398 (diff) | |
download | llvm-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