aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2023-06-01 15:53:52 -0400
committerMatt Arsenault <Matthew.Arsenault@amd.com>2023-08-31 18:59:34 -0400
commit50a9b3d8a5220c21c57197ef4c9483a2b9d14fd5 (patch)
tree125779510ad1fd9439ad41444bde680338401012 /llvm/lib/IR/Function.cpp
parent12660867307816cd808e0c21be4471a385154658 (diff)
downloadllvm-50a9b3d8a5220c21c57197ef4c9483a2b9d14fd5.zip
llvm-50a9b3d8a5220c21c57197ef4c9483a2b9d14fd5.tar.gz
llvm-50a9b3d8a5220c21c57197ef4c9483a2b9d14fd5.tar.bz2
InstCombine: Recognize fneg when performed as bitcasted integer
This is a resurrection of D18874. This was previously wrong with fneg conflated with fsub, but we now have a proper fneg instruction. Additionally, I think it is now clearer that IR float=IEEE float, and a different bit layout would require adding a different IR type. https://reviews.llvm.org/D151934
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions