diff options
Diffstat (limited to 'test/CodeGen/ARM/Windows')
-rw-r--r-- | test/CodeGen/ARM/Windows/chkstk-movw-movt-isel.ll | 6 | ||||
-rw-r--r-- | test/CodeGen/ARM/Windows/dllimport.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/ARM/Windows/frame-register.ll | 6 | ||||
-rw-r--r-- | test/CodeGen/ARM/Windows/long-calls.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/ARM/Windows/movw-movt-relocations.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/ARM/Windows/pic.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/ARM/Windows/read-only-data.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/ARM/Windows/stack-probe-non-default.ll | 6 | ||||
-rw-r--r-- | test/CodeGen/ARM/Windows/vla.ll | 4 |
9 files changed, 18 insertions, 18 deletions
diff --git a/test/CodeGen/ARM/Windows/chkstk-movw-movt-isel.ll b/test/CodeGen/ARM/Windows/chkstk-movw-movt-isel.ll index a82f614..a314259 100644 --- a/test/CodeGen/ARM/Windows/chkstk-movw-movt-isel.ll +++ b/test/CodeGen/ARM/Windows/chkstk-movw-movt-isel.ll @@ -10,10 +10,10 @@ entry: %i.addr = alloca i32, align 4 %buffer = alloca [4096 x i8], align 1 store i32 %i, i32* %i.addr, align 4 - %0 = load i32* %i.addr, align 4 + %0 = load i32, i32* %i.addr, align 4 %rem = urem i32 %0, 4096 - %arrayidx = getelementptr inbounds [4096 x i8]* %buffer, i32 0, i32 %rem - %1 = load volatile i8* %arrayidx, align 1 + %arrayidx = getelementptr inbounds [4096 x i8], [4096 x i8]* %buffer, i32 0, i32 %rem + %1 = load volatile i8, i8* %arrayidx, align 1 ret i8 %1 } diff --git a/test/CodeGen/ARM/Windows/dllimport.ll b/test/CodeGen/ARM/Windows/dllimport.ll index bc737bd..6786be3 100644 --- a/test/CodeGen/ARM/Windows/dllimport.ll +++ b/test/CodeGen/ARM/Windows/dllimport.ll @@ -8,7 +8,7 @@ declare dllimport arm_aapcs_vfpcc i32 @external() declare arm_aapcs_vfpcc i32 @internal() define arm_aapcs_vfpcc i32 @get_var() { - %1 = load i32* @var, align 4 + %1 = load i32, i32* @var, align 4 ret i32 %1 } @@ -20,7 +20,7 @@ define arm_aapcs_vfpcc i32 @get_var() { ; CHECK: bx lr define arm_aapcs_vfpcc i32 @get_ext() { - %1 = load i32* @ext, align 4 + %1 = load i32, i32* @ext, align 4 ret i32 %1 } diff --git a/test/CodeGen/ARM/Windows/frame-register.ll b/test/CodeGen/ARM/Windows/frame-register.ll index 31167d7..7ecfc1a 100644 --- a/test/CodeGen/ARM/Windows/frame-register.ll +++ b/test/CodeGen/ARM/Windows/frame-register.ll @@ -8,12 +8,12 @@ entry: %i.addr = alloca i32, align 4 %j = alloca i32, align 4 store i32 %i, i32* %i.addr, align 4 - %0 = load i32* %i.addr, align 4 + %0 = load i32, i32* %i.addr, align 4 %add = add nsw i32 %0, 1 store i32 %add, i32* %j, align 4 - %1 = load i32* %j, align 4 + %1 = load i32, i32* %j, align 4 call void @callee(i32 %1) - %2 = load i32* %j, align 4 + %2 = load i32, i32* %j, align 4 %add1 = add nsw i32 %2, 1 ret i32 %add1 } diff --git a/test/CodeGen/ARM/Windows/long-calls.ll b/test/CodeGen/ARM/Windows/long-calls.ll index e35f414..21c95fa 100644 --- a/test/CodeGen/ARM/Windows/long-calls.ll +++ b/test/CodeGen/ARM/Windows/long-calls.ll @@ -10,7 +10,7 @@ entry: } ; CHECK-LABEL: caller -; CHECK: ldr [[REG:r[0-9]+]], [[CPI:.LCPI[_0-9]+]] +; CHECK: ldr [[REG:r[0-9]+]], [[CPI:LCPI[_0-9]+]] ; CHECK: bx [[REG]] ; CHECK: .align 2 ; CHECK: [[CPI]]: diff --git a/test/CodeGen/ARM/Windows/movw-movt-relocations.ll b/test/CodeGen/ARM/Windows/movw-movt-relocations.ll index 3ae6428..c21aee0 100644 --- a/test/CodeGen/ARM/Windows/movw-movt-relocations.ll +++ b/test/CodeGen/ARM/Windows/movw-movt-relocations.ll @@ -10,8 +10,8 @@ ; Function Attrs: nounwind optsize readonly define i32 @relocation(i32 %j, i32 %k) { entry: - %0 = load i32* @i, align 4 - %1 = load i32* @j, align 4 + %0 = load i32, i32* @i, align 4 + %1 = load i32, i32* @j, align 4 %add = add nsw i32 %1, %0 ret i32 %add } diff --git a/test/CodeGen/ARM/Windows/pic.ll b/test/CodeGen/ARM/Windows/pic.ll index 28d371f..9ef7c35 100644 --- a/test/CodeGen/ARM/Windows/pic.ll +++ b/test/CodeGen/ARM/Windows/pic.ll @@ -5,7 +5,7 @@ define arm_aapcs_vfpcc i8 @return_external() { entry: - %0 = load i8* @external, align 1 + %0 = load i8, i8* @external, align 1 ret i8 %0 } diff --git a/test/CodeGen/ARM/Windows/read-only-data.ll b/test/CodeGen/ARM/Windows/read-only-data.ll index 0438d68..c387d1d 100644 --- a/test/CodeGen/ARM/Windows/read-only-data.ll +++ b/test/CodeGen/ARM/Windows/read-only-data.ll @@ -6,7 +6,7 @@ declare arm_aapcs_vfpcc void @callee(i8*) define arm_aapcs_vfpcc void @function() { entry: - call arm_aapcs_vfpcc void @callee(i8* getelementptr inbounds ([7 x i8]* @.str, i32 0, i32 0)) + call arm_aapcs_vfpcc void @callee(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0)) ret void } diff --git a/test/CodeGen/ARM/Windows/stack-probe-non-default.ll b/test/CodeGen/ARM/Windows/stack-probe-non-default.ll index 796bcdd..d66e93a 100644 --- a/test/CodeGen/ARM/Windows/stack-probe-non-default.ll +++ b/test/CodeGen/ARM/Windows/stack-probe-non-default.ll @@ -9,10 +9,10 @@ declare dllimport arm_aapcs_vfpcc void @initialise(i8*) define dllexport arm_aapcs_vfpcc signext i8 @function(i32 %offset) #0 { entry: %buffer = alloca [4096 x i8], align 1 - %0 = getelementptr inbounds [4096 x i8]* %buffer, i32 0, i32 0 + %0 = getelementptr inbounds [4096 x i8], [4096 x i8]* %buffer, i32 0, i32 0 call arm_aapcs_vfpcc void @initialise(i8* %0) - %arrayidx = getelementptr inbounds [4096 x i8]* %buffer, i32 0, i32 %offset - %1 = load i8* %arrayidx, align 1 + %arrayidx = getelementptr inbounds [4096 x i8], [4096 x i8]* %buffer, i32 0, i32 %offset + %1 = load i8, i8* %arrayidx, align 1 ret i8 %1 } diff --git a/test/CodeGen/ARM/Windows/vla.ll b/test/CodeGen/ARM/Windows/vla.ll index 56901de..1c0632e 100644 --- a/test/CodeGen/ARM/Windows/vla.ll +++ b/test/CodeGen/ARM/Windows/vla.ll @@ -8,8 +8,8 @@ define arm_aapcs_vfpcc i8 @function(i32 %sz, i32 %idx) { entry: %vla = alloca i8, i32 %sz, align 1 - %arrayidx = getelementptr inbounds i8* %vla, i32 %idx - %0 = load volatile i8* %arrayidx, align 1 + %arrayidx = getelementptr inbounds i8, i8* %vla, i32 %idx + %0 = load volatile i8, i8* %arrayidx, align 1 ret i8 %0 } |