llvm/lib
Chris Lattner c48b138869 disable this instcombine xform, it miscompiles:
define i32 @main() {
entry:
	%z = alloca i32		; <i32*> [#uses=2]
	store i32 0, i32* %z
	%tmp = load i32* %z		; <i32> [#uses=1]
	%sub = sub i32 %tmp, 1		; <i32> [#uses=1]
	%cmp = icmp ult i32 %sub, 0		; <i1> [#uses=1]
	%retval = select i1 %cmp, i32 1, i32 0		; <i32> [#uses=1]
	ret i32 %retval
}

into ret 1, instead of ret 0.

Christopher, please investigate.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45383 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-28 06:24:31 +00:00
..
Analysis Adding bindings for memory buffers and module providers. Switching 2007-12-19 22:30:40 +00:00
Archive finishing touches of bytecode -> bitcode changes. also unbreak Windows 2007-07-06 20:28:40 +00:00
AsmParser regenerate. 2007-12-17 01:17:35 +00:00
Bitcode Adding bindings for memory buffers and module providers. Switching 2007-12-19 22:30:40 +00:00
CodeGen Flesh out the Briggs implementation a little bit more, fix a few FIXMEs. 2007-12-24 22:12:23 +00:00
Debugger switch this to bitcode instead of bytecode 2007-05-06 09:29:13 +00:00
ExecutionEngine C and Ocaml bindings for ExecutionEngine (i.e., the JIT compiler). 2007-12-23 16:59:28 +00:00
Linker Ignore functions with internal linkages during linking. This snipped mimics the 2007-12-27 23:21:57 +00:00
Support Cygwin defines uint32_t as unsigned long. Unbreak call to std::min in this case 2007-12-24 11:16:47 +00:00
System Unbreak mingw build 2007-12-22 14:26:49 +00:00
Target add a note 2007-12-28 04:42:05 +00:00
Transforms disable this instcombine xform, it miscompiles: 2007-12-28 06:24:31 +00:00
VMCore Adding bindings for target triple and data layout. 2007-12-27 20:13:47 +00:00
Makefile build lib/Archive instead of lib/Bytecode 2007-05-06 19:50:06 +00:00