diff options
author | Michael Liao <michael.hliao@gmail.com> | 2020-09-11 01:58:11 -0400 |
---|---|---|
committer | Michael Liao <michael.hliao@gmail.com> | 2020-09-11 02:14:04 -0400 |
commit | f787fe15d8e1cb63b40235e781cd7c2e130bbcd6 (patch) | |
tree | 717137982b6edf4053b422fd4a716ef8e71db973 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | e45b0708ae81ace27de53f12b32a80601cb12bf3 (diff) | |
download | llvm-f787fe15d8e1cb63b40235e781cd7c2e130bbcd6.zip llvm-f787fe15d8e1cb63b40235e781cd7c2e130bbcd6.tar.gz llvm-f787fe15d8e1cb63b40235e781cd7c2e130bbcd6.tar.bz2 |
[EarlyCSE] Remove unnecessary operand swap.
- As min/max are commutative operators, there is no need to swap
operands. That breaks the convention calculating the hash value.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions