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

Side by Side Diff: test/NaCl/Bitcode/flags.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « test/NaCl/Bitcode/fast.ll ('k') | test/NaCl/Bitcode/forward-ref-decl.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ; Test that we no longer support the "nuw", "nsw", or the "exact" attributes on
2 ; binary operators in PNaCl bitcode files, since the PNaClABI doesn't allow
3 ; these attributes.
4
5 ; RUN: llvm-as < %s | pnacl-freeze | pnacl-thaw | llvm-dis - \
6 ; RUN: | FileCheck %s
7
8 define void @WrapFlags(i32, i32) {
9 %3 = add nuw i32 %0, %1
10 %4 = add nsw i32 %0, %1
11 %5 = udiv exact i32 %0, %1
12 ret void
13 }
14
15 ; CHECK: %3 = add i32 %0, %1
16 ; CHECK: %4 = add i32 %0, %1
17 ; CHECK: %5 = udiv i32 %0, %1
OLDNEW
« no previous file with comments | « test/NaCl/Bitcode/fast.ll ('k') | test/NaCl/Bitcode/forward-ref-decl.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698