llvm-6502/lib
Chandler Carruth 961e1acfb2 Fix PR13412, a nasty miscompile due to the interleaved
instsimplify+inline strategy.

The crux of the problem is that instsimplify was reasonably relying on
an invariant that is true within any single function, but is no longer
true mid-inline the way we use it. This invariant is that an argument
pointer != a local (alloca) pointer.

The fix is really light weight though, and allows instsimplify to be
resiliant to these situations: when checking the relation ships to
function arguments, ensure that the argumets come from the same
function. If they come from different functions, then none of these
assumptions hold. All credit to Benjamin Kramer for coming up with this
clever solution to the problem.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161410 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-07 10:59:59 +00:00
..
Analysis Fix PR13412, a nasty miscompile due to the interleaved 2012-08-07 10:59:59 +00:00
Archive Include cstdio in a few place that depended on getting it transitively through StringExtras.h 2012-03-23 11:35:30 +00:00
AsmParser Extend the IL for selecting TLS models (PR9788) 2012-06-23 11:37:03 +00:00
Bitcode Remove tabs. 2012-07-19 00:15:11 +00:00
CodeGen Add a much more conservative strategy for aligning branch targets. 2012-08-07 09:45:24 +00:00
DebugInfo DebugInfo library: add support for fetching absolute paths to source files 2012-07-19 07:03:58 +00:00
ExecutionEngine JIT::runFunction(): add a fast path for functions with a single argument that is a pointer. 2012-08-02 12:09:32 +00:00
Linker Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
MC Keep empty assembly macro argument values in the middle of the list. 2012-07-30 22:44:17 +00:00
Object Reverting r 160419. 2012-07-19 21:43:55 +00:00
Support Add support for the OpenBSD for Bitrig. 2012-08-06 20:52:18 +00:00
TableGen TableGen: Allow use of #NAME# outside of 'def' names. 2012-08-02 18:46:42 +00:00
Target Revert r161371. Removing the 'const' before Type is a "good thing". 2012-08-07 05:51:59 +00:00
Transforms Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
VMCore Postpone the deletion of the old name in StructType::setName to allow using a slice of the old name. 2012-08-04 09:47:02 +00:00
CMakeLists.txt
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile