]> granicus.if.org Git - llvm/commit
[x86] add more tests for select-of-constants; NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 9 Aug 2017 15:57:02 +0000 (15:57 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 9 Aug 2017 15:57:02 +0000 (15:57 +0000)
commit29d2edd545e8e17c91370556e6591b37800daf9b
treeec2679bfb03ef93db5a2cca83b3ba520e112e4ef
parentb158680ad138eb6791610a85b99a830332583e77
[x86] add more tests for select-of-constants; NFC

This is to help recommit a fixed version of r310208. As shown in PR34097,
we could miscompile if subtraction of the constants overflowed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310490 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/select_const.ll