aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-09-15 10:30:35 -0400
committerSanjay Patel <spatel@rotateright.com>2020-09-15 10:58:44 -0400
commit8985755762a429573af2ce657274772339d3b9db (patch)
tree5b5938b54ae9d30fe0471ecaa5cbb7bbd7146111 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent7c6f5b7fbf5a9eee7f3ef9192c354d1536a8f1c6 (diff)
downloadllvm-8985755762a429573af2ce657274772339d3b9db.zip
llvm-8985755762a429573af2ce657274772339d3b9db.tar.gz
llvm-8985755762a429573af2ce657274772339d3b9db.tar.bz2
[InstSimplify] add limit folds for fmin/fmax
If the constant operand is the opposite of the min/max value, then the result must be the other value. This is based on the similar codegen transform proposed in: D87571
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions