aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-08-01 07:46:23 -0400
committerSanjay Patel <spatel@rotateright.com>2020-08-01 07:47:06 -0400
commit04b99a4d18cf13c13f1d76c5698696bcaef4e4b6 (patch)
tree21f94163b8b849d63990b69b26d5594ab87e531a /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent1aa52d67d1c1a8eb174d4a85391a17c5f0731116 (diff)
downloadllvm-04b99a4d18cf13c13f1d76c5698696bcaef4e4b6.zip
llvm-04b99a4d18cf13c13f1d76c5698696bcaef4e4b6.tar.gz
llvm-04b99a4d18cf13c13f1d76c5698696bcaef4e4b6.tar.bz2
[InstSimplify] simplify abs if operand is known non-negative
abs() should be rare enough that using value tracking is not going to be a compile-time cost burden, so use it to reduce a variety of potential patterns. We do this in DAGCombiner too. Differential Revision: https://reviews.llvm.org/D85043
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions