Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: tests_lit/llvm2ice_tests/select-opt.ll

Issue 539743002: Subzero: Render constants in dump() to be more like LLVM. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/select-opt.ll
diff --git a/tests_lit/llvm2ice_tests/select-opt.ll b/tests_lit/llvm2ice_tests/select-opt.ll
index ca91274f65807092d37e01e0eaebde5e1194de55..b643ae62d498e3e51c2d41cb22bf5ebeb619f56b 100644
--- a/tests_lit/llvm2ice_tests/select-opt.ll
+++ b/tests_lit/llvm2ice_tests/select-opt.ll
@@ -46,7 +46,7 @@ declare void @useIntHelper(i32)
; operand is an immediate.
define i32 @testSelectImm32(i32 %a, i32 %b) {
entry:
- %cond = select i1 0, i32 %a, i32 %b
+ %cond = select i1 false, i32 %a, i32 %b
ret i32 %cond
}
; CHECK-LABEL: testSelectImm32
@@ -57,7 +57,7 @@ entry:
; sequence for 64-bit operands.
define i64 @testSelectImm64(i64 %a, i64 %b) {
entry:
- %cond = select i1 1, i64 %a, i64 %b
+ %cond = select i1 true, i64 %a, i64 %b
ret i64 %cond
}
; CHECK-LABEL: testSelectImm64
« no previous file with comments | « tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698