remove constexpr tests that aren't supported by LLVM anymore
DELETE
tests/alive-tv/bugs/pr33673.srctgt.ll
-; https://bugs.llvm.org/show_bug.cgi?id=33673
-define void @src() {
- %p = alloca i32, align 4
- %a = load i32, i32* %p, align 4
- call void @foo(i32 %a)
- store i32 sdiv (i32 1, i32 sub (i32 ptrtoint (i32* @G to i32), i32 ptrtoint (i32* @G to i32))), i32* %p, align 4
- ret void
-}
-
-@G = external global i32, align 4
-
-define void @tgt() {
- call void @foo(i32 sdiv (i32 1, i32 sub (i32 ptrtoint (i32* @G to i32), i32 ptrtoint (i32* @G to i32))))
- ret void
-}
-
-declare void @foo(i32)
-
-; ERROR: Source is more defined than target

DELETE
tests/alive-tv/constexpr/phi1.srctgt.ll
-@a = external global [2 x i8]
-@b = external global i8
-
-define i8 @src(i1 %c) {
-entry:
- br i1 %c, label %then, label %exit
-
-then:
- br label %exit
-
-exit:
- %p = phi i8 [ 0, %entry ], [ srem (i8 1, i8 zext (i1 icmp eq (i8* getelementptr inbounds ([2 x i8], [2 x i8]* @a, i64 0, i64 1), i8* @b) to i8)), %then ]
- ret i8 %p
-}
-
-define i8 @tgt(i1 %c) {
-entry:
- br i1 %c, label %then, label %exit
-
-then:
- %rem = srem i8 1, 0
- br label %exit
-
-exit:
- %p = phi i8 [ 0, %entry ], [ %rem, %then ]
- ret i8 %p
-}

DELETE
tests/alive-tv/constexpr/phi2.srctgt.ll
-@a = external global [2 x i8]
-@b = external global i8
-
-define i8 @src(i1 %c) {
-entry:
- br i1 %c, label %then, label %exit
-
-then:
- br label %exit
-
-exit:
- %p = phi i8 [ 0, %entry ], [ srem (i8 1, i8 zext (i1 icmp ne (i8* getelementptr inbounds ([2 x i8], [2 x i8]* @a, i64 0, i64 1), i8* @b) to i8)), %then ]
- ret i8 %p
-}
-
-define i8 @tgt(i1 %c) {
-entry:
- br i1 %c, label %then, label %exit
-
-then:
- %rem = srem i8 1, 0
- br label %exit
-
-exit:
- %p = phi i8 [ 0, %entry ], [ %rem, %then ]
- ret i8 %p
-}
-
-; ERROR: Source is more defined than target

DELETE
tests/alive-tv/constexpr/phi3.srctgt.ll
-@e = external global [2 x i32]
-@a = external global i32
-
-define <2 x i8> @src(i1 %c) {
-entry:
- br i1 %c, label %then, label %exit
-
-then:
- %srem = srem i8 1, zext (i1 icmp eq (i32* getelementptr inbounds ([2 x i32], [2 x i32]* @e, i64 0, i64 1), i32* @a) to i8)
- %ins = insertelement <2 x i8> zeroinitializer, i8 %srem, i64 0
- br label %exit
-
-exit:
- %p = phi <2 x i8> [ zeroinitializer, %entry ], [ %ins, %then ]
- ret <2 x i8> %p
-}
-
-define <2 x i8> @tgt(i1 %c) {
-entry:
- br i1 %c, label %then, label %exit
-
-then:
- br label %exit
-
-exit:
- %p = phi <2 x i8> [ zeroinitializer, %entry ], [ <i8 srem (i8 1, i8 zext (i1 icmp eq (i32* getelementptr inbounds ([2 x i32], [2 x i32]* @e, i64 0, i64 1), i32* @a) to i8)), i8 0>, %then ]
- ret <2 x i8> %p
-}

DELETE
tests/alive-tv/constexpr/phi4.srctgt.ll
-@e = external global [2 x i32]
-@a = external global i32
-
-define <2 x i8> @src(i1 %c, i8* %ptr) {
-entry:
- br i1 %c, label %then, label %exit
-
-then:
- %srem = srem i8 1, zext (i1 icmp eq (i32* getelementptr inbounds ([2 x i32], [2 x i32]* @e, i64 0, i64 1), i32* @a) to i8)
- %ins = insertelement <2 x i8> zeroinitializer, i8 %srem, i64 0
- br label %exit
-
-exit:
- %p = phi <2 x i8> [ zeroinitializer, %entry ], [ %ins, %then ]
- %q = phi i8 [ 0, %entry ], [ 2, %then ]
- store i8 %q, i8* %ptr
- ret <2 x i8> %p
-}
-
-define <2 x i8> @tgt(i1 %c, i8* %ptr) {
-entry:
- br i1 %c, label %then, label %exit
-
-then:
- br label %exit
-
-exit:
- %p = phi <2 x i8> [ zeroinitializer, %entry ], [ <i8 srem (i8 1, i8 zext (i1 icmp eq (i32* getelementptr inbounds ([2 x i32], [2 x i32]* @e, i64 0, i64 1), i32* @a) to i8)), i8 0>, %then ]
- %q = phi i8 [ 0, %entry ], [ 2, %then ]
- store i8 %q, i8* %ptr
- ret <2 x i8> %p
-}

remove constexpr tests that aren't supported by LLVM anymore