aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Constants.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2022-07-08 09:52:57 -0400
committerSanjay Patel <spatel@rotateright.com>2022-07-08 10:02:19 -0400
commit79bb915fb60b2cd220d89e3bb54f67abb8cdb7bd (patch)
tree95f2e3e18deb408ccdd7aba80dbae242e5a7ae50 /llvm/lib/IR/Constants.cpp
parent0cf5d40d4c77dd2e21429a099edb4319bf240cc9 (diff)
downloadllvm-79bb915fb60b2cd220d89e3bb54f67abb8cdb7bd.zip
llvm-79bb915fb60b2cd220d89e3bb54f67abb8cdb7bd.tar.gz
llvm-79bb915fb60b2cd220d89e3bb54f67abb8cdb7bd.tar.bz2
[InstCombine] enhance fold for subtract-from-constant -> xor
A low-bit mask is not required: https://alive2.llvm.org/ce/z/yPShss This matches the SDAG implementation that was updated at: 8b756713140f
Diffstat (limited to 'llvm/lib/IR/Constants.cpp')
0 files changed, 0 insertions, 0 deletions