| OLD | NEW |
| 1 target triple = "i686-pc-linux-gnu" | |
| 2 | |
| 3 ; This file is extracted from fp.pnacl.ll and vector-fcmp.ll in the lit | 1 ; This file is extracted from fp.pnacl.ll and vector-fcmp.ll in the lit |
| 4 ; tests, with the "internal" attribute removed from the functions. | 2 ; tests, with the "internal" attribute removed from the functions. |
| 5 | 3 |
| 6 define i32 @fcmpFalseFloat(float %a, float %b) { | 4 define i32 @fcmpFalseFloat(float %a, float %b) { |
| 7 entry: | 5 entry: |
| 8 %cmp = fcmp false float %a, %b | 6 %cmp = fcmp false float %a, %b |
| 9 %cmp.ret_ext = zext i1 %cmp to i32 | 7 %cmp.ret_ext = zext i1 %cmp to i32 |
| 10 ret i32 %cmp.ret_ext | 8 ret i32 %cmp.ret_ext |
| 11 } | 9 } |
| 12 ; CHECK: fcmpFalseFloat: | 10 ; CHECK: fcmpFalseFloat: |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 } | 461 } |
| 464 | 462 |
| 465 define <4 x i32> @fcmpUnoVector(<4 x float> %a, <4 x float> %b) { | 463 define <4 x i32> @fcmpUnoVector(<4 x float> %a, <4 x float> %b) { |
| 466 entry: | 464 entry: |
| 467 %res.trunc = fcmp uno <4 x float> %a, %b | 465 %res.trunc = fcmp uno <4 x float> %a, %b |
| 468 %res = sext <4 x i1> %res.trunc to <4 x i32> | 466 %res = sext <4 x i1> %res.trunc to <4 x i32> |
| 469 ret <4 x i32> %res | 467 ret <4 x i32> %res |
| 470 ; CHECK-LABEL: fcmpUnoVector: | 468 ; CHECK-LABEL: fcmpUnoVector: |
| 471 ; CHECK: cmpunordps | 469 ; CHECK: cmpunordps |
| 472 } | 470 } |
| OLD | NEW |