llvm/test/Other
Chandler Carruth ece6c6bb63 Revert the series of commits starting with r166578 which introduced the
getIntPtrType support for multiple address spaces via a pointer type,
and also introduced a crasher bug in the constant folder reported in
PR14233.

These commits also contained several problems that should really be
addressed before they are re-committed. I have avoided reverting various
cleanups to the DataLayout APIs that are reasonable to have moving
forward in order to reduce the amount of churn, and minimize the number
of commits that were reverted. I've also manually updated merge
conflicts and manually arranged for the getIntPtrType function to stay
in DataLayout and to be defined in a plausible way after this revert.

Thanks to Duncan for working through this exact strategy with me, and
Nick Lewycky for tracking down the really annoying crasher this
triggered. (Test case to follow in its own commit.)

After discussing with Duncan extensively, and based on a note from
Micah, I'm going to continue to back out some more of the more
problematic patches in this series in order to ensure we go into the
LLVM 3.2 branch with a reasonable story here. I'll send a note to
llvmdev explaining what's going on and why.

Summary of reverted revisions:

r166634: Fix a compiler warning with an unused variable.
r166607: Add some cleanup to the DataLayout changes requested by
         Chandler.
r166596: Revert "Back out r166591, not sure why this made it through
         since I cancelled the command. Bleh, sorry about this!
r166591: Delete a directory that wasn't supposed to be checked in yet.
r166578: Add in support for getIntPtrType to get the pointer type based
         on the address space.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167221 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-01 08:07:29 +00:00
..
Inputs Don't do actual work inside an assert statement. Fixes PR11760! 2012-09-23 03:58:21 +00:00
X86 Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu 2012-03-25 09:02:19 +00:00
2002-01-31-CallGraph.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2002-02-24-InlineBrokePHINodes.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2002-03-11-ConstPropCrash.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2003-02-19-LoopInfoNestingBug.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2004-08-16-PackedConstantInlineStore.ll
2004-08-16-PackedGlobalConstant.ll
2004-08-16-PackedSelect.ll Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
2004-08-16-PackedSimple.ll Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
2004-08-20-PackedControlFlow.ll Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
2006-02-05-PassManager.ll Eliminate more redundant llvm-as calls. 2009-09-11 18:17:12 +00:00
2007-04-24-eliminate-mostly-empty-blocks.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2007-06-05-PassID.ll -disable-output is no longer needed with -analyze. 2010-01-26 19:25:59 +00:00
2007-06-28-PassManager.ll -disable-output is no longer needed with -analyze. 2010-01-26 19:25:59 +00:00
2007-09-10-PassManager.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2008-02-14-PassManager.ll Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
2008-06-04-FieldSizeInPacked.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2008-10-06-RemoveDeadPass.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2008-10-15-MissingSpace.ll Fix the remaining TCL-style quotes found in the testsuite. This is 2012-07-02 19:09:46 +00:00
2009-03-31-CallGraph.ll Update test to new EH model. 2012-01-31 02:04:20 +00:00
2009-06-05-no-implicit-float.ll fix bogus test 2010-01-09 19:24:49 +00:00
2009-09-14-function-elements.ll Forbid arrays of function-type and structures with function-typed fields. 2009-09-15 06:28:26 +00:00
2010-05-06-Printer.ll Don't write a file named "&1". 2010-06-18 01:49:17 +00:00
close-stderr.ll The built-in shell test runner for some reason doesn't like the quoting 2012-07-02 13:35:01 +00:00
constant-fold-gep.ll Reapply r155682, making constant folding more consistent, with a fix to work 2012-04-27 17:50:22 +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