summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2018-06-07 14:18:38 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2018-06-07 14:18:38 +0000
commit847938925b4c4ac12d367c01b4085559d5b1be6b (patch)
tree276b86c75a47b471895e02f38fd530f7ecb1b9c8 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parent898fbd7c4717ed1623b735925f363be58ce1ac6b (diff)
downloadbcm5719-llvm-847938925b4c4ac12d367c01b4085559d5b1be6b.tar.gz
bcm5719-llvm-847938925b4c4ac12d367c01b4085559d5b1be6b.zip
[NFC][InstSimplify] Add tests for shl nuw C, %x -> C fold.
%r = shl nuw i8 C, %x As per langref: If the nuw keyword is present, then the shift produces a poison value if it shifts out any non-zero bits. Thus, if the sign bit is set on C, then %x can only be 0, which means that %r can only be C. https://rise4fun.com/Alive/WMk Was mentioned in D47428 review. llvm-svn: 334200
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud