aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorMichael Liao <michael.hliao@gmail.com>2020-09-11 01:58:11 -0400
committerMichael Liao <michael.hliao@gmail.com>2020-09-11 02:14:04 -0400
commitf787fe15d8e1cb63b40235e781cd7c2e130bbcd6 (patch)
tree717137982b6edf4053b422fd4a716ef8e71db973 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parente45b0708ae81ace27de53f12b32a80601cb12bf3 (diff)
downloadllvm-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/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions