llvm-6502/lib
Bruno Cardoso Lopes cba407d019 [InstCombine] Fix visitSwitchInst to use right operand types for sub cstexpr
The visitSwitchInst generates SUB constant expressions to recompute the
switch condition. When truncating the condition to a smaller type, SUB
expressions should use the previous type (before trunc) for both
operands. This fixes an assertion crash.

Differential Revision: http://reviews.llvm.org/D6644

rdar://problem/19191835

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224574 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-19 14:23:15 +00:00
..
Analysis Remove redundant assignment. 2014-12-19 11:29:34 +00:00
AsmParser
Bitcode
CodeGen RegisterCoalescer: rewrite eliminateUndefCopy(). 2014-12-19 01:39:46 +00:00
DebugInfo
ExecutionEngine
IR ConstantFold: Shifting undef by zero results in undef 2014-12-18 23:54:43 +00:00
IRReader
LineEditor
Linker Rename MapValue(Metadata*) to MapMetadata() 2014-12-19 06:06:18 +00:00
LTO
MC Instead of explicitely comparing both lowercase and uppercase variants. 2014-12-18 23:12:34 +00:00
Object [Object] Don't crash on empty export lists. 2014-12-19 02:31:01 +00:00
Option
ProfileData
Support Add missing implementation of 'sys::path::is_other' to the support library. 2014-12-18 18:19:47 +00:00
TableGen
Target [Hexagon] Adding loop0/1 sp0/1/2loop0 instructions. 2014-12-19 00:06:53 +00:00
Transforms [InstCombine] Fix visitSwitchInst to use right operand types for sub cstexpr 2014-12-19 14:23:15 +00:00
CMakeLists.txt ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00
LLVMBuild.txt
Makefile