diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-20 16:17:53 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-20 16:19:24 -0800 |
commit | 8db7402c6c2e7b15fe73ae54f271be0b4e4f4373 (patch) | |
tree | 44e4f61c3d87f51c2881b2c48f8292f1d9ec6746 | |
parent | 544a0fd1282f2e0f39644877edf753463f406bee (diff) |
updates and fixes for test_cases
-rw-r--r-- | tests/cases/longjmp_tiny_invoke.ll | 2 | ||||
-rw-r--r-- | tests/cases/longjmp_tiny_phi.ll | 2 | ||||
-rw-r--r-- | tests/cases/longjmp_tiny_phi2.ll | 2 | ||||
-rw-r--r-- | tests/test_core.py | 3 |
4 files changed, 5 insertions, 4 deletions
diff --git a/tests/cases/longjmp_tiny_invoke.ll b/tests/cases/longjmp_tiny_invoke.ll index e1a72e00..5fd35194 100644 --- a/tests/cases/longjmp_tiny_invoke.ll +++ b/tests/cases/longjmp_tiny_invoke.ll @@ -9,7 +9,7 @@ target triple = "i386-pc-linux-gnu" define i32 @main() { %retval = alloca i32, align 4 store i32 0, i32* %retval - %call = invoke i32 @setjmp(i16* getelementptr inbounds ([20 x i16]* @_ZL3buf, i32 0, i32 0)) returns_twice, !dbg !20 + %call = invoke i32 @setjmp(i16* getelementptr inbounds ([20 x i16]* @_ZL3buf, i32 0, i32 0)) returns_twice to label %allgood unwind label %awful allgood: diff --git a/tests/cases/longjmp_tiny_phi.ll b/tests/cases/longjmp_tiny_phi.ll index cced7cab..21b936dd 100644 --- a/tests/cases/longjmp_tiny_phi.ll +++ b/tests/cases/longjmp_tiny_phi.ll @@ -28,7 +28,7 @@ if.else: ; preds = %entry br label %if.end if.end: ; preds = %if.else, %if.then - %aaa = phi i32 [ -1, %if.then ], [ 0, %if.else ], [ 1, %two ], [ 2, %entry ] + %aaa = phi i32 [ -1, %if.then ], [ 0, %if.else ] %call3 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([6 x i8]* @.str2, i32 0, i32 0), i32 %aaa), !dbg !26 ret i32 %aaa, !dbg !28 } diff --git a/tests/cases/longjmp_tiny_phi2.ll b/tests/cases/longjmp_tiny_phi2.ll index 1d7761c3..88312fc6 100644 --- a/tests/cases/longjmp_tiny_phi2.ll +++ b/tests/cases/longjmp_tiny_phi2.ll @@ -24,7 +24,7 @@ if.then: ; preds = %entry br label %if.end, !dbg !25 if.end: ; preds = %if.else, %if.then - %aaa = phi i32 [ -1, %if.then ], [ 1, %two ], [ 2, %entry ] + %aaa = phi i32 [ -1, %if.then ], [ 1, %two ] %call3 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([6 x i8]* @.str2, i32 0, i32 0), i32 %aaa), !dbg !26 ret i32 %aaa, !dbg !28 } diff --git a/tests/test_core.py b/tests/test_core.py index efe65904..381d1a7e 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -5045,6 +5045,7 @@ def process(filename): # to process. def test_cases(self): if Building.LLVM_OPTS: return self.skip("Our code is not exactly 'normal' llvm assembly") + if os.environ.get('EMCC_FAST_COMPILER') == '1': Settings.DISABLE_EXCEPTION_CATCHING = 1 emcc_args = self.emcc_args @@ -5060,7 +5061,7 @@ def process(filename): 'structphiparam', 'callwithstructural_ta2', 'callwithstructural64_ta2', 'structinparam', # pnacl limitations in ExpandStructRegs '2xi40', # pnacl limitations in ExpandGetElementPtr 'legalizer_ta2', '514_ta2', # pnacl limitation in not legalizing i104, i96, etc. - 'longjmp_tiny', 'longjmp_tiny_invoke', 'longjmp_tiny_phi', 'longjmp_tiny_phi2', 'longjmp_tiny_invoke_phi', 'indirectbrphi', 'ptrtoint_blockaddr', 'quoted', # current fastcomp limitations FIXME + 'indirectbrphi', 'ptrtoint_blockaddr', 'quoted', # current fastcomp limitations FIXME 'sillyfuncast2', 'sillybitcast', 'atomicrmw_unaligned' # TODO XXX ]: continue if '_ta2' in shortname and not Settings.USE_TYPED_ARRAYS == 2: |