From b6846e1a64c3a56be80f1b7bd2d5bf10cfabc36f Mon Sep 17 00:00:00 2001 From: Karl Schimpf Date: Mon, 5 Aug 2013 08:47:19 -0700 Subject: Fix handling of the volatile bit of loads/stores in PNaCl bitcode files. Fixes so that the volatile bit is no longer put into the bitcode file, since the volatile bit is not in the PNaCl ABI. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3610 R=jvoung@chromium.org Review URL: https://codereview.chromium.org/21949006 --- test/NaCl/Bitcode/bitcast-elide.ll | 16 ++++++++-------- test/NaCl/Bitcode/inttoptr-elide.ll | 14 +++++++------- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'test/NaCl/Bitcode') diff --git a/test/NaCl/Bitcode/bitcast-elide.ll b/test/NaCl/Bitcode/bitcast-elide.ll index 37c19fb94c..baacfde558 100644 --- a/test/NaCl/Bitcode/bitcast-elide.ll +++ b/test/NaCl/Bitcode/bitcast-elide.ll @@ -45,7 +45,7 @@ define void @SimpleLoad() { ; PF2: ; PF2-NEXT: -; PF2-NEXT: +; PF2-NEXT: ; PF2-NEXT: ; PF2-NEXT: @@ -86,7 +86,7 @@ define void @SimpleLoadAlloca() { ; PF2-NEXT: ; PF2-NEXT: -; PF2-NEXT: +; PF2-NEXT: ; PF2-NEXT: ; PF2-NEXT: @@ -119,7 +119,7 @@ define i32* @NonsimpleLoad(i32 %i) { ; PF2: ; PF2-NEXT: ; PF2-NEXT: -; PF2-NEXT: +; PF2-NEXT: ; PF2-NEXT: ; PF2: @@ -163,8 +163,8 @@ define i32 @TwoLoads(i32 %i) { ; PF2: ; PF2-NEXT: -; PF2-NEXT: -; PF2-NEXT: +; PF2-NEXT: +; PF2-NEXT: ; PF2-NEXT: ; PF2-NEXT: ; PF2: @@ -206,8 +206,8 @@ define i32 @TwoLoadOpt(i32 %i) { ; PF2: ; PF2-NEXT: -; PF2-NEXT: -; PF2-NEXT: +; PF2-NEXT: +; PF2-NEXT: ; PF2-NEXT: ; PF2-NEXT: ; PF2: @@ -240,6 +240,6 @@ define void @SimpleStore(i32 %i) { ; PF2: ; PF2-NEXT: -; PF2-NEXT: +; PF2-NEXT: ; PF2-NEXT: ; PF2: diff --git a/test/NaCl/Bitcode/inttoptr-elide.ll b/test/NaCl/Bitcode/inttoptr-elide.ll index 988e16ea7b..8d573c8ca5 100644 --- a/test/NaCl/Bitcode/inttoptr-elide.ll +++ b/test/NaCl/Bitcode/inttoptr-elide.ll @@ -43,7 +43,7 @@ define void @SimpleLoad(i32 %i) { ; PF2: ; PF2-NEXT: -; PF2-NEXT: +; PF2-NEXT: ; PF2-NEXT: ; PF2: @@ -78,7 +78,7 @@ define i32* @NonsimpleLoad(i32 %i) { ; PF2: ; PF2-NEXT: ; PF2-NEXT: -; PF2-NEXT: +; PF2-NEXT: ; PF2-NEXT: ; PF2: @@ -125,8 +125,8 @@ define i32 @TwoLoads(i32 %i) { ; PF2: ; PF2-NEXT: -; PF2-NEXT: -; PF2-NEXT: +; PF2-NEXT: +; PF2-NEXT: ; PF2-NEXT: ; PF2-NEXT: ; PF2: @@ -170,8 +170,8 @@ define i32 @TwoLoadOpt(i32 %i) { ; PF2: ; PF2-NEXT: -; PF2-NEXT: -; PF2-NEXT: +; PF2-NEXT: +; PF2-NEXT: ; PF2-NEXT: ; PF2-NEXT: ; PF2: @@ -206,6 +206,6 @@ define void @SimpleStore(i32 %i) { ; PF2: ; PF2-NEXT: -; PF2-NEXT: +; PF2-NEXT: ; PF2-NEXT: ; PF2T: -- cgit v1.2.3-70-g09d2