OSDN Git Service

[InstCombine] add rotate narrowing tests with odd types; NFC
authorSanjay Patel <spatel@rotateright.com>
Thu, 15 Nov 2018 16:34:26 +0000 (16:34 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 15 Nov 2018 16:34:26 +0000 (16:34 +0000)
commita773fb82fa1b200469fd453ec7f4afbd8e4c2d67
tree88b7bbd142c0b6665da744b0ab75bced36f19572
parent81aa3c01a5290ad1245d5a221d5098e3f57e2954
[InstCombine] add rotate narrowing tests with odd types; NFC

There's a potential miscompile here. It's unlikely in the real
world because this transform is guarded with shouldChangeType(),
but this test file doesn't include a standard data-layout for
some reason (despite including a custom 1), so we can see the bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346966 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/rotate.ll