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