diff options
author | Sanjay Patel <spatel@rotateright.com> | 2020-08-01 07:46:23 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2020-08-01 07:47:06 -0400 |
commit | 04b99a4d18cf13c13f1d76c5698696bcaef4e4b6 (patch) | |
tree | 21f94163b8b849d63990b69b26d5594ab87e531a /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 1aa52d67d1c1a8eb174d4a85391a17c5f0731116 (diff) | |
download | llvm-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