]> granicus.if.org Git - llvm/commit
[NFC][Codegen] shift-amount-mod.ll: drop innermost operation
authorRoman Lebedev <lebedev.ri@gmail.com>
Sat, 1 Jun 2019 11:08:29 +0000 (11:08 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sat, 1 Jun 2019 11:08:29 +0000 (11:08 +0000)
commitcb65daa22a1ed2acfaba8e92e6c7a1c591be606b
tree77bdc1cc1c8ac0bce994e78d23f1d6cdba990c5e
parent7a3adb340cb803b091c445433ac4dc4e24000250
[NFC][Codegen] shift-amount-mod.ll: drop innermost operation

I have initially added it in for test to display both
whether the binop w/ constant is sinked or hoisted.
But as it can be seen from the 'sub (sub C, %x), %y'
test, that actually conceals the issues it is supposed to test.

At least two more patterns are unhandled:
* 'add (sub C, %x), %y' - D62266
* 'sub (sub C, %x), %y'

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362295 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/AArch64/sink-addsub-of-const.ll
test/CodeGen/X86/sink-addsub-of-const.ll