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

Unified Diff: test/Transforms/InstCombine/overflow.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/NaCl/X86/stack-adjust.ll ('k') | test/Transforms/InstCombine/overflow-mul.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Transforms/InstCombine/overflow.ll
diff --git a/test/Transforms/InstCombine/overflow.ll b/test/Transforms/InstCombine/overflow.ll
index 3eddc80a704898d7c0065e4fe8078d2bfc13d3e6..565f987d3aebc0f65befea35a9da367f4d28cb26 100644
--- a/test/Transforms/InstCombine/overflow.ll
+++ b/test/Transforms/InstCombine/overflow.ll
@@ -1,6 +1,14 @@
; RUN: opt -S -instcombine < %s | FileCheck %s
; <rdar://problem/8558713>
+; @LOCALMOD-BEGIN
+; PNaCl does not support the with.overflow intrinsics in its stable
+; ABI, so these optimizations are disabled.
+
+; RUN: opt -S -instcombine -mtriple=le32-nacl < %s | FileCheck %s -check-prefix=PNACL
+; PNACL-NOT: with.overflow
+; @LOCALMOD-END
+
declare void @throwAnExceptionOrWhatever()
; CHECK-LABEL: @test1(
« no previous file with comments | « test/NaCl/X86/stack-adjust.ll ('k') | test/Transforms/InstCombine/overflow-mul.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698