]> granicus.if.org Git - clang/commitdiff
[NFC] Don't over-eagerly check block alignment
authorJF Bastien <jfbastien@apple.com>
Tue, 8 Jan 2019 18:51:38 +0000 (18:51 +0000)
committerJF Bastien <jfbastien@apple.com>
Tue, 8 Jan 2019 18:51:38 +0000 (18:51 +0000)
Alignment of __block isn't relevant to this test, remove its checking.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350644 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/trivial-auto-var-init.cpp

index 8b35fdb441a4e16d01df4104a2b3ca243ca758ee..b795c0755bd41dea3fdccd32742e83f7a7971bd6 100644 (file)
@@ -22,9 +22,9 @@ void test_selfinit() {
 
 // UNINIT-LABEL:  test_block(
 // ZERO-LABEL:    test_block(
-// ZERO: store i32 0, i32* %block, align 4
+// ZERO: store i32 0, i32* %block
 // PATTERN-LABEL: test_block(
-// PATTERN: store i32 -1431655766, i32* %block, align 4
+// PATTERN: store i32 -1431655766, i32* %block
 void test_block() {
   __block int block;
   used(block);