[PATCH] D58885: Variable auto-init: split out small arrays

JF Bastien via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 4 09:21:30 PST 2019


jfb marked 2 inline comments as done.
jfb added inline comments.


================
Comment at: test/CodeGenCXX/auto-var-init.cpp:1025
 // PATTERN-LABEL: @test_intptr4_uninit()
-// PATTERN: call void @llvm.memcpy{{.*}} @__const.test_intptr4_uninit.uninit
-// ZERO-LABEL: @test_intptr4_uninit()
-// ZERO: call void @llvm.memset{{.*}}, i8 0,
+// PATTERN:       %1 = getelementptr inbounds [4 x i32*], [4 x i32*]* %uninit, i64 0, i64 0
+// PATTERN-NEXT:  store i32* inttoptr (i64 -6148914691236517206 to i32*), i32** %1, align 16
----------------
glider wrote:
> This check fails for me locally.
Apologies, I played around with the labels and forgot to fix them before sending the patch.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58885/new/

https://reviews.llvm.org/D58885





More information about the cfe-commits mailing list