diff options
Diffstat (limited to 'test/CodeGen/R600/fcmp.ll')
-rw-r--r-- | test/CodeGen/R600/fcmp.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/R600/fcmp.ll b/test/CodeGen/R600/fcmp.ll index 3399218..5207ab5 100644 --- a/test/CodeGen/R600/fcmp.ll +++ b/test/CodeGen/R600/fcmp.ll @@ -5,9 +5,9 @@ define void @fcmp_sext(i32 addrspace(1)* %out, float addrspace(1)* %in) { entry: - %0 = load float addrspace(1)* %in - %arrayidx1 = getelementptr inbounds float addrspace(1)* %in, i32 1 - %1 = load float addrspace(1)* %arrayidx1 + %0 = load float, float addrspace(1)* %in + %arrayidx1 = getelementptr inbounds float, float addrspace(1)* %in, i32 1 + %1 = load float, float addrspace(1)* %arrayidx1 %cmp = fcmp oeq float %0, %1 %sext = sext i1 %cmp to i32 store i32 %sext, i32 addrspace(1)* %out @@ -28,7 +28,7 @@ entry: br i1 %0, label %IF, label %ENDIF IF: - %1 = getelementptr i32 addrspace(1)* %out, i32 1 + %1 = getelementptr i32, i32 addrspace(1)* %out, i32 1 store i32 0, i32 addrspace(1)* %1 br label %ENDIF |