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

Unified Diff: test/Transforms/InstCombine/overflow-mul.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/Transforms/InstCombine/overflow.ll ('k') | test/Transforms/MinSFI/abi-verifier-whitelist-syscalls.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Transforms/InstCombine/overflow-mul.ll
diff --git a/test/Transforms/InstCombine/overflow-mul.ll b/test/Transforms/InstCombine/overflow-mul.ll
index 6d8d40bcac3e656d54ee196e3180d7990f2af5df..bff7c1d7d4fa0999b9e7219e10bb65793b3ff06d 100644
--- a/test/Transforms/InstCombine/overflow-mul.ll
+++ b/test/Transforms/InstCombine/overflow-mul.ll
@@ -1,5 +1,13 @@
; RUN: opt -S -instcombine < %s | FileCheck %s
+; @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
+
; return mul(zext x, zext y) > MAX
define i32 @pr4917_1(i32 %x, i32 %y) nounwind {
; CHECK-LABEL: @pr4917_1(
« no previous file with comments | « test/Transforms/InstCombine/overflow.ll ('k') | test/Transforms/MinSFI/abi-verifier-whitelist-syscalls.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698