]> granicus.if.org Git - llvm/commit
[DivRemPairs] Add srem-of-srem tests (PR42823, D65298, D65451)
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 30 Jul 2019 15:46:03 +0000 (15:46 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 30 Jul 2019 15:46:03 +0000 (15:46 +0000)
commitb7d288256665a4c81f4fc455d2fe130452d7d0ac
tree46525183c58f2abed6b17e6220b77f93573d96ff
parenta24c680c53a2d02f50a65f5fdfac2a4060cbbc55
[DivRemPairs] Add srem-of-srem tests (PR42823, D65298, D65451)

The @srem_of_srem_expanded case exposed a RAUW pitfall in D65298.
Right now these don't appear to fail verification,
so it should be safe to precommit them.

https://reviews.llvm.org/D65298
https://bugs.llvm.org/show_bug.cgi?id=42823
https://reviews.llvm.org/D65451

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367325 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/DivRemPairs/PowerPC/div-expanded-rem-pair.ll
test/Transforms/DivRemPairs/PowerPC/div-rem-pairs.ll
test/Transforms/DivRemPairs/X86/div-expanded-rem-pair.ll
test/Transforms/DivRemPairs/X86/div-rem-pairs.ll