llvm-6502/test/Other
Meador Inge 8df7c39976 IR: Don't constant fold GEP bitcasts between different address spaces
PR15262 reported a bug where the following instruction:

  i8 getelementptr inbounds i8* bitcast ([4 x i8] addrspace(12)* @buf to i8*),
                                i32 2

was getting folded into:

  addrspace(12)* getelementptr inbounds ([4 x i8] addrspace(12)* @buf, i32 0,
                                        i32 2)

This caused instcombine to crash because the original instruction and
the folded instruction have different types.  The issue was fixed by
disallowing bitcasts between different address spaces to be folded away.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176156 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-27 02:26:42 +00:00
..
Inputs Don't do actual work inside an assert statement. Fixes PR11760! 2012-09-23 03:58:21 +00:00
X86
2002-01-31-CallGraph.ll
2002-02-24-InlineBrokePHINodes.ll
2002-03-11-ConstPropCrash.ll
2003-02-19-LoopInfoNestingBug.ll
2004-08-16-PackedConstantInlineStore.ll
2004-08-16-PackedGlobalConstant.ll
2004-08-16-PackedSelect.ll
2004-08-16-PackedSimple.ll
2004-08-20-PackedControlFlow.ll
2006-02-05-PassManager.ll
2007-04-24-eliminate-mostly-empty-blocks.ll
2007-06-05-PassID.ll
2007-06-28-PassManager.ll
2007-09-10-PassManager.ll
2008-02-14-PassManager.ll
2008-06-04-FieldSizeInPacked.ll
2008-10-06-RemoveDeadPass.ll
2008-10-15-MissingSpace.ll Using "not grep" is brittle as the test passes if llvm-as fails. 2012-11-21 14:17:23 +00:00
2009-03-31-CallGraph.ll
2009-06-05-no-implicit-float.ll
2009-09-14-function-elements.ll
2010-05-06-Printer.ll
close-stderr.ll XFAIL close-stderr on win32 2013-01-25 22:12:54 +00:00
constant-fold-gep.ll IR: Don't constant fold GEP bitcasts between different address spaces 2013-02-27 02:26:42 +00:00
extract-alias.ll Add -alias and -ralias options to match what we have for functions and 2012-10-29 02:23:07 +00:00
extract-weak-odr.ll llvm-extract changes linkages so that functions on both sides of the 2012-10-29 01:59:03 +00:00
extract.ll llvm-extract changes linkages so that functions on both sides of the 2012-10-29 01:59:03 +00:00
FileCheck-space.txt FileCheck: Fix off-by-one bug that made CHECK-NOT: ignore the next character after the colon. 2012-09-18 20:51:39 +00:00
invalid-commandline-option.ll Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
link-opts.ll Change the internalize pass to internalize all symbols when given an empty 2012-10-26 18:47:48 +00:00
lint.ll Ignore apparent buffer overruns on external or weak globals. This is a major 2012-09-30 07:30:10 +00:00
lit.local.cfg FileCheck: Fix off-by-one bug that made CHECK-NOT: ignore the next character after the colon. 2012-09-18 20:51:39 +00:00
llvm-cov.test Don't do actual work inside an assert statement. Fixes PR11760! 2012-09-23 03:58:21 +00:00
llvm-nm-without-aliases.ll Add hidden flag to exclude aliases from output. 2012-09-18 18:47:58 +00:00
optimize-options.ll Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
ResponseFile.ll Enable response files in all tools. Patch by Liu, Yaxun (Sam). I have simplified 2012-10-09 19:52:10 +00:00
spir_cc.ll Forgot the SPIR test case. 2012-10-01 17:07:51 +00:00