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( |