[llvm] r247312 - Tidy up some alias syntax to make explicit pointer type migration easier
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 11:03:45 PDT 2015
Author: dblaikie
Date: Thu Sep 10 13:03:45 2015
New Revision: 247312
URL: http://llvm.org/viewvc/llvm-project?rev=247312&view=rev
Log:
Tidy up some alias syntax to make explicit pointer type migration easier
Modified:
llvm/trunk/test/Assembler/uselistorder.ll
llvm/trunk/test/CodeGen/X86/aliases.ll
Modified: llvm/trunk/test/Assembler/uselistorder.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/uselistorder.ll?rev=247312&r1=247311&r2=247312&view=diff
==============================================================================
--- llvm/trunk/test/Assembler/uselistorder.ll (original)
+++ llvm/trunk/test/Assembler/uselistorder.ll Thu Sep 10 13:03:45 2015
@@ -4,7 +4,7 @@
; RUN: verify-uselistorder < %s
@a = global [4 x i1] [i1 0, i1 1, i1 0, i1 1]
- at b = alias i1* getelementptr ([4 x i1], [4 x i1]* @a, i64 0, i64 2)
+ at b = alias getelementptr ([4 x i1], [4 x i1]* @a, i64 0, i64 2)
; Check use-list order of constants used by globals.
@glob1 = global i5 7
Modified: llvm/trunk/test/CodeGen/X86/aliases.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/aliases.ll?rev=247312&r1=247311&r2=247312&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/aliases.ll (original)
+++ llvm/trunk/test/CodeGen/X86/aliases.ll Thu Sep 10 13:03:45 2015
@@ -49,7 +49,7 @@ define i32 @foo_f() {
@bar_p = protected alias i32* @bar
; CHECK-DAG: test2 = bar+4
- at test2 = alias getelementptr(i32, i32 *@bar, i32 1)
+ at test2 = alias getelementptr(i32, i32* @bar, i32 1)
; CHECK-DAG: test3 = 42
@test3 = alias inttoptr(i32 42 to i32*)
More information about the llvm-commits
mailing list