aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/MachO/InterfaceFile.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-06-20 22:55:28 +0000
committerSanjay Patel <spatel@rotateright.com>2019-06-20 22:55:28 +0000
commitb342f026a466e6faf331d91fced29db5d39796aa (patch)
treefa1cc0b1ac4e2e11a5d7f88839f4af38df4d307c /llvm/lib/TextAPI/MachO/InterfaceFile.cpp
parent73986707bd57faab657c17acb6d219ed021f408a (diff)
downloadllvm-b342f026a466e6faf331d91fced29db5d39796aa.zip
llvm-b342f026a466e6faf331d91fced29db5d39796aa.tar.gz
llvm-b342f026a466e6faf331d91fced29db5d39796aa.tar.bz2
[InstSimplify] simplify power-of-2 (single bit set) sequences
As discussed in PR42314: https://bugs.llvm.org/show_bug.cgi?id=42314 Improving the canonicalization for these patterns: rL363956 ...means we should adjust/enhance the related simplification. https://rise4fun.com/Alive/w1cp Name: isPow2 or zero %x = and i32 %xx, 2048 %a = add i32 %x, -1 %r = and i32 %a, %x => %r = i32 0 llvm-svn: 363997
Diffstat (limited to 'llvm/lib/TextAPI/MachO/InterfaceFile.cpp')
0 files changed, 0 insertions, 0 deletions