aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2023-06-01 16:44:17 -0400
committerMatt Arsenault <Matthew.Arsenault@amd.com>2023-08-31 19:07:36 -0400
commit70aede228a1b6fca90b96bc8a6245b92e20316c6 (patch)
tree20889cf29897f0d73d9a9fbde1e0436e52e43fea /llvm/lib/IR/Function.cpp
parent5c0da5839de1bdc08f411a04305a9bdadf538ad5 (diff)
downloadllvm-70aede228a1b6fca90b96bc8a6245b92e20316c6.zip
llvm-70aede228a1b6fca90b96bc8a6245b92e20316c6.tar.gz
llvm-70aede228a1b6fca90b96bc8a6245b92e20316c6.tar.bz2
InstCombine: Recognize fneg(fabs) as bitcasted integer
Technically increases the number of instructions if the result isn't cast back to float. Even in this case it's still probably a better canonical form since it enables FP value tracking. https://reviews.llvm.org/D151939
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions