aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ValueTracking.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2022-05-26 14:28:05 -0400
committerSanjay Patel <spatel@rotateright.com>2022-05-26 16:19:15 -0400
commitc4c750058f3e3b85c24a9e3ad356b76290e7c259 (patch)
treebb5f9e7f998191ab265ca1cb2094d7dcbcfb7e70 /llvm/lib/Analysis/ValueTracking.cpp
parent899af021f48fa6f8c7acb51343faf7c75b1041c5 (diff)
downloadllvm-c4c750058f3e3b85c24a9e3ad356b76290e7c259.zip
llvm-c4c750058f3e3b85c24a9e3ad356b76290e7c259.tar.gz
llvm-c4c750058f3e3b85c24a9e3ad356b76290e7c259.tar.bz2
[InstCombine] fold mul of signbit directly to X < 0 ? Y : 0
This is effectively NFC (intentionally no test diffs) because we already have the related fold that converts the 'and' pattern to select. So this is just an efficiency improvement.
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions