From 6ff608fb18a8d0613885b0a6d947c55924ae76ad Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 10 Sep 2015 18:03:45 +0000 Subject: [PATCH] Tidy up some alias syntax to make explicit pointer type migration easier git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247312 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Assembler/uselistorder.ll | 2 +- test/CodeGen/X86/aliases.ll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Assembler/uselistorder.ll b/test/Assembler/uselistorder.ll index 2475fc48caf..0d1382461ad 100644 --- a/test/Assembler/uselistorder.ll +++ b/test/Assembler/uselistorder.ll @@ -4,7 +4,7 @@ ; RUN: verify-uselistorder < %s @a = global [4 x i1] [i1 0, i1 1, i1 0, i1 1] -@b = alias i1* getelementptr ([4 x i1], [4 x i1]* @a, i64 0, i64 2) +@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 diff --git a/test/CodeGen/X86/aliases.ll b/test/CodeGen/X86/aliases.ll index 3f19a064323..9de7f6bb64e 100644 --- a/test/CodeGen/X86/aliases.ll +++ b/test/CodeGen/X86/aliases.ll @@ -49,7 +49,7 @@ define i32 @foo_f() { @bar_p = protected alias i32* @bar ; CHECK-DAG: test2 = bar+4 -@test2 = alias getelementptr(i32, i32 *@bar, i32 1) +@test2 = alias getelementptr(i32, i32* @bar, i32 1) ; CHECK-DAG: test3 = 42 @test3 = alias inttoptr(i32 42 to i32*) -- 2.34.1