[PATCH] [DebugInfo] Add debug locations to constant SD nodes

Anton Korobeynikov anton at korobeynikov.info
Fri Apr 17 11:37:59 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: test/CodeGen/X86/2012-11-28-merge-store-alias.ll:6
@@ -5,3 +5,3 @@
 ; CHECK: xorps %xmm0, %xmm0
-; CHECK-NEXT: movups  %xmm0
+; CHECK: movups  %xmm0
 ; CHECK: callq foo
----------------
I'd assume now .loc is emitted in the middle? Can't we simple git rid of debug info the .ll ?

================
Comment at: test/CodeGen/X86/sse41.ll:749
@@ -748,4 +748,3 @@
 ; X32:       ## BB#0:
-; X32-NEXT:    pshufd {{.*#+}} xmm1 = xmm0[0,1,2,0]
-; X32-NEXT:    pxor %xmm0, %xmm0
-; X32-NEXT:    pblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3,4,5],xmm1[6,7]
+; X32-NEXT:    pxor %xmm1, %xmm1
+; X32-NEXT:    pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
----------------
The changed order here looks weird... Any particular reason?

================
Comment at: test/CodeGen/X86/vselect-avx.ll:17
@@ -16,3 +16,3 @@
 ; CHECK-LABEL: test:
-; CHECK: vmovdqa {{.*#+}} xmm0 = [65535,0,0,65535]
-; CHECK: vmovdqa {{.*#+}} xmm2 = [65533,124,125,14807]
+; CHECK: vmovdqa {{.*#+}} xmm0 = [65533,124,125,14807]
+; CHECK: vmovdqa {{.*#+}} xmm1 = [65535,0,0,65535]
----------------
Same suspicious thing here.

http://reviews.llvm.org/D9084

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list