1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test
Dan Gohman 268cfea6bc Fun x86 encoding tricks: when adding an immediate value of 128,
use a SUB instruction instead of an ADD, because -128 can be
encoded in an 8-bit signed immediate field, while +128 can't be.
This avoids the need for a 32-bit immediate field in this case.

A similar optimization applies to 64-bit adds with 0x80000000,
with the 32-bit signed immediate field.

To support this, teach tablegen how to handle 64-bit constants.

llvm-svn: 57663
2008-10-17 01:33:43 +00:00
..
Analysis Rationalize the names of passes that print information: 2008-09-23 12:47:39 +00:00
Archive
Assembler Fix the .ll grammar rules to allow any type before an 'i32', not just an 2008-10-15 06:16:45 +00:00
Bindings/Ocaml PR2731: C and Ocaml bindings for setTailCall and isTailCall. 2008-08-30 16:34:54 +00:00
Bitcode
BugPoint
CodeGen Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
DebugInfo Testcase for debug info from data-only files. 2008-07-08 21:57:56 +00:00
ExecutionEngine
Feature Put CPPBackend tests into their own directory and run them only if they're 2008-07-10 22:35:32 +00:00
FrontendAda Teach constant folding that an inttoptr of a 2008-08-13 20:20:35 +00:00
FrontendC new testcase for PR2797 2008-10-14 06:56:04 +00:00
FrontendC++
FrontendFortran
FrontendObjC fix filetype suffix 2008-10-07 06:41:02 +00:00
FrontendObjC++ This is an objective-c test, not an objective-c++ one. 2008-10-06 18:42:48 +00:00
Integer
lib add support for running the test suite with valgrind. to run it just type 'make VG=1', as in clang 2008-10-07 14:48:14 +00:00
Linker Add global variable to test for consistency 2008-10-15 20:22:44 +00:00
LLVMC Renaming LLVMC/dg.exp to LLVM/llvmc.exp 2008-08-14 23:37:58 +00:00
Other Testcase for PR2894. 2008-10-15 22:34:34 +00:00
Scripts
TableGen Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
Transforms apply Eli's patch for PR2165 and provide a testcase. 2008-10-16 05:26:51 +00:00
Verifier Diagnose uses of unsized types with the byval attribute in the 2008-08-27 14:48:06 +00:00
Makefile add support for running the test suite with valgrind. to run it just type 'make VG=1', as in clang 2008-10-07 14:48:14 +00:00
Makefile.tests
TestRunner.sh Fix a bashism in TestRunner.sh. 2008-07-28 18:41:03 +00:00