1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/test/Regression/Transforms/Reassociate/2005-08-24-Crash.ll
Chris Lattner cd1322eded new testcase that crashes -reassociate
llvm-svn: 23018
2005-08-24 17:54:56 +00:00

13 lines
450 B
LLVM

; RUN: llvm-as < %s | opt -reassociate -disable-output
void %test(int %a, int %b, int %c, int %d) {
%tmp.2 = xor int %a, %b ; <int> [#uses=1]
%tmp.5 = xor int %c, %d ; <int> [#uses=1]
%tmp.6 = xor int %tmp.2, %tmp.5 ; <int> [#uses=1]
%tmp.9 = xor int %c, %a ; <int> [#uses=1]
%tmp.12 = xor int %b, %d ; <int> [#uses=1]
%tmp.13 = xor int %tmp.9, %tmp.12 ; <int> [#uses=1]
%tmp.16 = xor int %tmp.6, %tmp.13 ; <int> [#uses=0]
ret void
}