]> granicus.if.org Git - llvm/commit
Fix gather-root.ll SLP vectorizer test to not expose UB.
authorHans Wennborg <hans@hanshq.net>
Mon, 22 Aug 2016 20:27:42 +0000 (20:27 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 22 Aug 2016 20:27:42 +0000 (20:27 +0000)
commita164239806a2710f3e58b2b66702bbf4001222f7
tree5e773d7064f0f55ba7478dc18c5abba4096466d5
parent0316f025dab46d776dee70d3b695e1a07db5371c
Fix gather-root.ll SLP vectorizer test to not expose UB.

The undefined behaviour (signed integer overflow) is not a regression
in itself as it was already there, but the test exposing it is a
regression compared to rc1, i.e. the lit tests no longer run ubsan-clean.

This commit fixes the test based on Matt's change in r279125 to not
expose the undefined behaviour.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_39@279468 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/SLPVectorizer/AArch64/gather-root.ll