aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/JS/globals.ll
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2014-02-26 18:16:15 -0800
committerDan Gohman <sunfish@mozilla.com>2014-02-28 11:22:37 -0800
commit3ef11173bf12b5fdc0a21bfd883b057718676e8f (patch)
treee622e570a3392e06d271bfcbc1c3398200fc705e /test/CodeGen/JS/globals.ll
parent0dac79df771f7708a03e724126dded4f64531bc5 (diff)
Update tests for recent changes which result in more parens being used in some places.
Diffstat (limited to 'test/CodeGen/JS/globals.ll')
-rw-r--r--test/CodeGen/JS/globals.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/JS/globals.ll b/test/CodeGen/JS/globals.ll
index 3a8a3a692c..4ae83eedb2 100644
--- a/test/CodeGen/JS/globals.ll
+++ b/test/CodeGen/JS/globals.ll
@@ -6,11 +6,11 @@
; CHECK: [[VAR_t:\$[a-z]+]] = HEAP32[2]|0;
; CHECK: [[VAR_s:\$[a-z]+]] = +HEAPF64[2];
; CHECK: [[VAR_u:\$[a-z]+]] = HEAP8[24]|0;
-; CHECK: [[VAR_a:\$[a-z]+]] = ~~(([[VAR_s:\$[a-z]+]]))>>>0;
+; CHECK: [[VAR_a:\$[a-z]+]] = (~~(([[VAR_s:\$[a-z]+]]))>>>0);
; CHECK: [[VAR_b:\$[a-z]+]] = [[VAR_u:\$[a-z]+]] << 24 >> 24;
; CHECK: [[VAR_c:\$[a-z]+]] = (([[VAR_t:\$[a-z]+]]) + ([[VAR_a:\$[a-z]+]]))|0;
; CHECK: [[VAR_d:\$[a-z]+]] = (([[VAR_c:\$[a-z]+]]) + ([[VAR_b:\$[a-z]+]]))|0;
-; CHECK: return [[VAR_d:\$[a-z]+]]|0;
+; CHECK: return ([[VAR_d:\$[a-z]+]]|0);
define i32 @loads() {
%t = load i32* @A
%s = load double* @B