diff options
author | Nikita Popov <npopov@redhat.com> | 2023-07-25 16:49:54 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-07-27 09:48:54 +0200 |
commit | 90d825be708cd09ab7bfbb6b7a10a98a9847c7c4 (patch) | |
tree | c55a8f44ece7c8bc549599d5c2be38236a4c105c /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 47ba908a5e8ee94828b035184df315601803d60f (diff) | |
download | llvm-90d825be708cd09ab7bfbb6b7a10a98a9847c7c4.zip llvm-90d825be708cd09ab7bfbb6b7a10a98a9847c7c4.tar.gz llvm-90d825be708cd09ab7bfbb6b7a10a98a9847c7c4.tar.bz2 |
Reapply [ConstantFold] Avoid creation of undesirable binop
This was reverted together with another commit due to a test
conflict. Reapply without functional changes.
-----
When commuting the operands, don't create a constant expression
for undesirable binops. Only invoke the constant folding function
in that case.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions