r350644 - [NFC] Don't over-eagerly check block alignment

JF Bastien via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 8 10:51:38 PST 2019


Author: jfb
Date: Tue Jan  8 10:51:38 2019
New Revision: 350644

URL: http://llvm.org/viewvc/llvm-project?rev=350644&view=rev
Log:
[NFC] Don't over-eagerly check block alignment

Alignment of __block isn't relevant to this test, remove its checking.

Modified:
    cfe/trunk/test/CodeGenCXX/trivial-auto-var-init.cpp

Modified: cfe/trunk/test/CodeGenCXX/trivial-auto-var-init.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/trivial-auto-var-init.cpp?rev=350644&r1=350643&r2=350644&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/trivial-auto-var-init.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/trivial-auto-var-init.cpp Tue Jan  8 10:51:38 2019
@@ -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);




More information about the cfe-commits mailing list