]> granicus.if.org Git - clang/commit
Auto var init test fix #2
authorJF Bastien <jfbastien@apple.com>
Tue, 7 Aug 2018 04:44:13 +0000 (04:44 +0000)
committerJF Bastien <jfbastien@apple.com>
Tue, 7 Aug 2018 04:44:13 +0000 (04:44 +0000)
commitc629b8b2488674d29bb5f964c162641b6f0a82ec
treec06a5b8739dc33eee8b445d9cc28878a13a2e644
parentdba59abb09b7182c072a9f146169f9600ac5166e
Auto var init test fix #2

It turns out that the AVX bots have different alignment for their vectors, and my test mistakenly assumed a particular vector alignent on the stack. Instead, capture the alignment and test for it in subsequent operations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339093 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGenCXX/auto-var-init.cpp