llvm-6502/test
Duncan Sands f413cdfb0b When simplifying a call to a bitcast function, tighten up
the conditions for performing the transform when only the
function declaration is available: no longer allow turning
i32 into i64 for example.  Only allow changing between
pointer types, and between pointer types and integers of
the same size.  For return values ptr -> intptr was already
allowed; I added ptr -> ptr and intptr -> ptr while there.
As shown by a recent objc testcase, changing the way
parameters/return values are passed can be fatal when calling
code written in assembler that directly manipulates call
arguments and return values unless the transform has no
impact on the way they are passed at the codegen level.
While it is possible to imagine an ABI that treats integers
of pointer size differently to pointers, I don't think LLVM
supports any so the transform should now be safe while still
being useful.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51834 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-01 07:38:42 +00:00
..
Analysis Move these tests into the proper directory. 2008-05-29 16:30:29 +00:00
Archive sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
Assembler IR, bitcode reader, bitcode writer, and asmparser changes to 2008-05-31 00:58:22 +00:00
Bindings/Ocaml Remove lingering references to .llx and .tr in the tests. 2008-05-23 21:15:35 +00:00
Bitcode Eliminate x86.sse2.punpckh.qdq and x86.sse2.punpckl.qdq. 2008-05-24 02:56:30 +00:00
BugPoint
CodeGen update this patch to handle an extraneous &1. This should be pulled 2008-05-31 19:50:53 +00:00
DebugInfo sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
ExecutionEngine Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
Feature Remove lingering references to .llx and .tr in the tests. 2008-05-23 21:15:35 +00:00
FrontendAda
FrontendC Unbreak this test. 2008-05-30 05:02:37 +00:00
FrontendC++ For PR1338: Rename test dirs 2008-05-29 19:17:15 +00:00
FrontendObjC
Integer sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
lib
Linker Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
LLVMC Fix the -opt switch and add a test case for it. 2008-05-30 19:56:27 +00:00
Other sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
Scripts
TableGen
Transforms When simplifying a call to a bitcast function, tighten up 2008-06-01 07:38:42 +00:00
Verifier Make structs and arrays first-class types, and add assembly 2008-05-23 01:55:30 +00:00
Makefile
Makefile.tests
TestRunner.sh