summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/R600/fabs.f64.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/R600/fabs.f64.ll')
-rw-r--r--llvm/test/CodeGen/R600/fabs.f64.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/R600/fabs.f64.ll b/llvm/test/CodeGen/R600/fabs.f64.ll
index 30c895218ba..3c6136c1a7b 100644
--- a/llvm/test/CodeGen/R600/fabs.f64.ll
+++ b/llvm/test/CodeGen/R600/fabs.f64.ll
@@ -14,7 +14,7 @@ define void @v_fabs_f64(double addrspace(1)* %out, double addrspace(1)* %in) {
%tid = call i32 @llvm.r600.read.tidig.x() nounwind readnone
%tidext = sext i32 %tid to i64
%gep = getelementptr double, double addrspace(1)* %in, i64 %tidext
- %val = load double addrspace(1)* %gep, align 8
+ %val = load double, double addrspace(1)* %gep, align 8
%fabs = call double @llvm.fabs.f64(double %val)
store double %fabs, double addrspace(1)* %out
ret void
OpenPOWER on IntegriCloud