llvm-6502/test
Bob Wilson cc7052343e Avoid illegal integer promotion in fastisel
Stop folding constant adds into GEP when the type size doesn't match.
Otherwise, the adds' operands are effectively being promoted, changing the
conditions of an overflow.  Results are different when:

    sext(a) + sext(b) != sext(a + b)

Problem originally found on x86-64, but also fixed issues with ARM and PPC,
which used similar code.

<rdar://problem/15292280>

Patch by Duncan Exon Smith!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194840 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-15 19:09:27 +00:00
..
Analysis
Assembler Add addrspacecast instruction. 2013-11-15 01:34:59 +00:00
Bindings [OCaml] Add REQUIRES: native, object-emission to the Target test 2013-11-15 03:43:51 +00:00
Bitcode
BugPoint
CodeGen Avoid illegal integer promotion in fastisel 2013-11-15 19:09:27 +00:00
DebugInfo Add addrspacecast instruction. 2013-11-15 01:34:59 +00:00
ExecutionEngine
Feature Add addrspacecast instruction. 2013-11-15 01:34:59 +00:00
FileCheck
Instrumentation Reapply "[asan] Poor man's coverage that works with ASan" 2013-11-15 07:16:09 +00:00
Integer
JitListener
Linker
LTO
MC Use instr mapping for microMIPS in llvm-mc. 2013-11-15 08:07:34 +00:00
Object
Other Add addrspacecast instruction. 2013-11-15 01:34:59 +00:00
TableGen
tools
Transforms Add instcombine visitor for addrspacecast 2013-11-15 05:45:08 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh