oota-llvm.git
17 years agoCygwin doesn't have the RSS_LIMIT for get/setrlimit.
Reid Spencer [Mon, 23 Apr 2007 07:22:51 +0000 (07:22 +0000)]
Cygwin doesn't have the RSS_LIMIT for get/setrlimit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36361 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd TLS tests.
Lauro Ramos Venancio [Mon, 23 Apr 2007 01:29:35 +0000 (01:29 +0000)]
Add TLS tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36360 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoX86 TLS: optimize the implementation of "local exec" model.
Lauro Ramos Venancio [Mon, 23 Apr 2007 01:28:10 +0000 (01:28 +0000)]
X86 TLS: optimize the implementation of "local exec" model.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36359 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agopromote LLVMBitCodes to be a public header
Chris Lattner [Mon, 23 Apr 2007 01:01:37 +0000 (01:01 +0000)]
promote LLVMBitCodes to be a public header

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36358 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agopromote this to being a public header.
Chris Lattner [Mon, 23 Apr 2007 01:01:15 +0000 (01:01 +0000)]
promote this to being a public header.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36357 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoPR400 phase 2. Propagate attributed load/store information through DAGs.
Christopher Lamb [Sun, 22 Apr 2007 23:15:30 +0000 (23:15 +0000)]
PR400 phase 2. Propagate attributed load/store information through DAGs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36356 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoX86 TLS: fix and optimize the implementation of "initial exec" model.
Lauro Ramos Venancio [Sun, 22 Apr 2007 22:50:52 +0000 (22:50 +0000)]
X86 TLS: fix and optimize the implementation of "initial exec" model.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36355 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoPR400 phase 1 implementation feedback.
Christopher Lamb [Sun, 22 Apr 2007 22:22:02 +0000 (22:22 +0000)]
PR400 phase 1 implementation feedback.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36354 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoHave compiler enforce this.
Jeff Cohen [Sun, 22 Apr 2007 22:16:55 +0000 (22:16 +0000)]
Have compiler enforce this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36353 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoSupport alignment queries for degenerate (length 1) vectors.
Christopher Lamb [Sun, 22 Apr 2007 21:54:13 +0000 (21:54 +0000)]
Support alignment queries for degenerate (length 1) vectors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36352 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agosimplify this test until it can be dealt with
Andrew Lenharth [Sun, 22 Apr 2007 20:58:56 +0000 (20:58 +0000)]
simplify this test until it can be dealt with

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36351 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRegenerated
Christopher Lamb [Sun, 22 Apr 2007 20:09:11 +0000 (20:09 +0000)]
Regenerated

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36350 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoPR400 work phase 1. Add attributed load/store instructions for volatile/align to...
Christopher Lamb [Sun, 22 Apr 2007 19:24:39 +0000 (19:24 +0000)]
PR400 work phase 1. Add attributed load/store instructions for volatile/align to LLVM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36349 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix build problem with Gentoo 4.1.1-r3.
Jeff Cohen [Sun, 22 Apr 2007 18:49:32 +0000 (18:49 +0000)]
Fix build problem with Gentoo 4.1.1-r3.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36348 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd new option to usage help.
Jeff Cohen [Sun, 22 Apr 2007 18:33:20 +0000 (18:33 +0000)]
Add new option to usage help.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36347 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1136:
Reid Spencer [Sun, 22 Apr 2007 17:28:03 +0000 (17:28 +0000)]
For PR1136:
Add reference counting to ParamAttrsList and make use of it in Function,
CallInst and InvokeInst classes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36346 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTerminate with newline.
Reid Spencer [Sun, 22 Apr 2007 16:31:22 +0000 (16:31 +0000)]
Terminate with newline.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36345 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUndo premature commit.
Reid Spencer [Sun, 22 Apr 2007 16:30:47 +0000 (16:30 +0000)]
Undo premature commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36344 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTerminate file with newline.
Reid Spencer [Sun, 22 Apr 2007 16:29:35 +0000 (16:29 +0000)]
Terminate file with newline.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36343 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoImplement review feedback.
Jeff Cohen [Sun, 22 Apr 2007 15:11:24 +0000 (15:11 +0000)]
Implement review feedback.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36342 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTeach Visual Studio about Bitcode.
Jeff Cohen [Sun, 22 Apr 2007 15:00:52 +0000 (15:00 +0000)]
Teach Visual Studio about Bitcode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36341 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUndo erroneous corrections.
Jeff Cohen [Sun, 22 Apr 2007 14:56:37 +0000 (14:56 +0000)]
Undo erroneous corrections.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36340 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix the comparison of language names to accept any characters by using
Reid Spencer [Sun, 22 Apr 2007 14:14:11 +0000 (14:14 +0000)]
Fix the comparison of language names to accept any characters by using
"string first" instead of "regexp match". This helps C++ tests get executed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36339 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix generation of certain scheduler itineraries.
Christopher Lamb [Sun, 22 Apr 2007 09:04:24 +0000 (09:04 +0000)]
Fix generation of certain scheduler itineraries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36338 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoadd llvm ir bitcode definition file
Chris Lattner [Sun, 22 Apr 2007 07:03:00 +0000 (07:03 +0000)]
add llvm ir bitcode definition file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36337 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agodon't break reading from stdin
Chris Lattner [Sun, 22 Apr 2007 06:35:20 +0000 (06:35 +0000)]
don't break reading from stdin

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36336 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agolink in bitwriter library
Chris Lattner [Sun, 22 Apr 2007 06:31:35 +0000 (06:31 +0000)]
link in bitwriter library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36335 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoteach llvm-dis to read bitcode files
Chris Lattner [Sun, 22 Apr 2007 06:31:02 +0000 (06:31 +0000)]
teach llvm-dis to read bitcode files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36334 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoadd a temporary -bitcode option, which instructs llvm-as to produce a bitcode file...
Chris Lattner [Sun, 22 Apr 2007 06:28:58 +0000 (06:28 +0000)]
add a temporary -bitcode option, which instructs llvm-as to produce a bitcode file instead of a bytecode file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36333 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agobuild the bitcode dir
Chris Lattner [Sun, 22 Apr 2007 06:26:05 +0000 (06:26 +0000)]
build the bitcode dir

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36332 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoInitial support for writing bitcode files. This currently only writes types,
Chris Lattner [Sun, 22 Apr 2007 06:24:45 +0000 (06:24 +0000)]
Initial support for writing bitcode files.  This currently only writes types,
the type symtab, and global/function protos, and is missing the important
size optimization, but it is a place to start.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36331 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoInitial support for reading bitcode files. They currently only read types,
Chris Lattner [Sun, 22 Apr 2007 06:23:29 +0000 (06:23 +0000)]
Initial support for reading bitcode files.  They currently only read types,
the type symtab, and global/function protos, and are missing the important
size optimization, but it is a place to start.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36330 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoDefine the content-independent interfaces to read/write bitcode files and
Chris Lattner [Sun, 22 Apr 2007 06:22:05 +0000 (06:22 +0000)]
Define the content-independent interfaces to read/write bitcode files and
the high-level interface to read/write LLVM IR bitcode files.

This is a work in progress.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36329 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMake running these tests conditional on llvm-gcc supporting the language
Reid Spencer [Sun, 22 Apr 2007 05:53:18 +0000 (05:53 +0000)]
Make running these tests conditional on llvm-gcc supporting the language
of these test cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36328 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1146:
Reid Spencer [Sun, 22 Apr 2007 05:46:44 +0000 (05:46 +0000)]
For PR1146:
Make ParamAttrsList objects unique. You can no longer directly create or
destroy them but instead must go through the ParamAttrsList::get()
interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36327 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd the --host-target option.
Reid Spencer [Sun, 22 Apr 2007 05:05:36 +0000 (05:05 +0000)]
Add the --host-target option.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36326 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMinor corrections.
Jeff Cohen [Sun, 22 Apr 2007 01:17:39 +0000 (01:17 +0000)]
Minor corrections.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36325 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoImplement PIC for arm-linux.
Lauro Ramos Venancio [Sun, 22 Apr 2007 00:04:12 +0000 (00:04 +0000)]
Implement PIC for arm-linux.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36324 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd a .cvsignore file.
Reid Spencer [Sat, 21 Apr 2007 21:53:04 +0000 (21:53 +0000)]
Add a .cvsignore file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36323 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoReplace llvm_gcc_supports_ada and llvm_gcc_supports_objc with just a single
Reid Spencer [Sat, 21 Apr 2007 21:45:51 +0000 (21:45 +0000)]
Replace llvm_gcc_supports_ada and llvm_gcc_supports_objc with just a single
llvm_gcc_supports function that takes the language as an argument. Base that
function on the new LLVMGCC_LANGS configured variable so that we don't have
to execute feature checks during the test run.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36322 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoPass the LLVMGCC_LANGS variable through to Tcl.
Reid Spencer [Sat, 21 Apr 2007 21:43:18 +0000 (21:43 +0000)]
Pass the LLVMGCC_LANGS variable through to Tcl.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36321 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRegenerate for detection of llvm-gcc supported languages
Reid Spencer [Sat, 21 Apr 2007 21:28:52 +0000 (21:28 +0000)]
Regenerate for detection of llvm-gcc supported languages

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36320 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd support for determining which languages the llvm-gcc front end
Reid Spencer [Sat, 21 Apr 2007 21:28:12 +0000 (21:28 +0000)]
Add support for determining which languages the llvm-gcc front end
supports.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36319 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoX86 TLS: Implement review feedback.
Lauro Ramos Venancio [Sat, 21 Apr 2007 20:56:26 +0000 (20:56 +0000)]
X86 TLS: Implement review feedback.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36318 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agollvm-dg.exp is dead, remove it.
Reid Spencer [Sat, 21 Apr 2007 20:48:14 +0000 (20:48 +0000)]
llvm-dg.exp is dead, remove it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36317 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFailure.sh is dead, remove it.
Reid Spencer [Sat, 21 Apr 2007 20:46:55 +0000 (20:46 +0000)]
Failure.sh is dead, remove it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36316 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUse the llvm_supports_target function to prevent running of tests for
Reid Spencer [Sat, 21 Apr 2007 20:41:27 +0000 (20:41 +0000)]
Use the llvm_supports_target function to prevent running of tests for
targets that LLVM is not configured to support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36315 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd the llvm_supports_target function.
Reid Spencer [Sat, 21 Apr 2007 20:40:17 +0000 (20:40 +0000)]
Add the llvm_supports_target function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36314 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd the TARGETS_TO_BUILD variable.
Reid Spencer [Sat, 21 Apr 2007 20:39:26 +0000 (20:39 +0000)]
Add the TARGETS_TO_BUILD variable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36313 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTest if the compiler supports Ada, and enable Ada tests if so. While I was
Duncan Sands [Sat, 21 Apr 2007 20:20:47 +0000 (20:20 +0000)]
Test if the compiler supports Ada, and enable Ada tests if so.  While I was
there, delete a temporary file the objc test forgot to delete.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36312 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAlways print the same "PR" information in the same location (just after
Reid Spencer [Sat, 21 Apr 2007 18:53:12 +0000 (18:53 +0000)]
Always print the same "PR" information in the same location (just after
the test name) in all cases (PASS, XPASS, FAIL, XFAIL). This makes the
output consistent and more amenable to parsing by nightly test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36311 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoPut failure information on a separate line. Hopefully this unbreaks the
Reid Spencer [Sat, 21 Apr 2007 18:46:52 +0000 (18:46 +0000)]
Put failure information on a separate line. Hopefully this unbreaks the
nightly tester which expects the FAIL: line to only have the test name on
it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36310 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRevert Christopher Lamb's load/store alignment changes.
Reid Spencer [Sat, 21 Apr 2007 18:36:27 +0000 (18:36 +0000)]
Revert Christopher Lamb's load/store alignment changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36309 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoWe only need one putchar which gives it a shot at getting matched by its
Reid Spencer [Sat, 21 Apr 2007 17:11:45 +0000 (17:11 +0000)]
We only need one putchar which gives it a shot at getting matched by its
users.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36305 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMake enum-valued bitfield large enough to avoid interpretation as negative values...
Jeff Cohen [Sat, 21 Apr 2007 16:29:37 +0000 (16:29 +0000)]
Make enum-valued bitfield large enough to avoid interpretation as negative values in VC++.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36304 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix breakage of bytecode reader when built with VC++.
Jeff Cohen [Sat, 21 Apr 2007 15:29:13 +0000 (15:29 +0000)]
Fix breakage of bytecode reader when built with VC++.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36303 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoThe expression "SubclassData = (SubclassData & ~1) | (V) ? 1 : 0;" does not do what
Jeff Cohen [Sat, 21 Apr 2007 14:32:59 +0000 (14:32 +0000)]
The expression "SubclassData = (SubclassData & ~1) | (V) ? 1 : 0;" does not do what
was intended!  | has higher precedence than ?.  Caught by Visual Studio.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36302 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoadd support for alignment attributes on load/store instructions
Christopher Lamb [Sat, 21 Apr 2007 08:16:25 +0000 (08:16 +0000)]
add support for alignment attributes on load/store instructions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36301 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMake PredicateSimplifier not use DominatorTree.
Owen Anderson [Sat, 21 Apr 2007 07:38:12 +0000 (07:38 +0000)]
Make PredicateSimplifier not use DominatorTree.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36300 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix a comment.
Owen Anderson [Sat, 21 Apr 2007 07:12:44 +0000 (07:12 +0000)]
Fix a comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36299 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix some null checks to actually test the part that needs checking.
Owen Anderson [Sat, 21 Apr 2007 07:04:45 +0000 (07:04 +0000)]
Fix some null checks to actually test the part that needs checking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36298 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agomake this portable to 64-bit hosts
Chris Lattner [Sat, 21 Apr 2007 03:35:28 +0000 (03:35 +0000)]
make this portable to 64-bit hosts

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36297 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoBug fix; add super-registers sets.
Evan Cheng [Sat, 21 Apr 2007 00:55:29 +0000 (00:55 +0000)]
Bug fix; add super-registers sets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36296 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd super-register set.
Evan Cheng [Sat, 21 Apr 2007 00:54:06 +0000 (00:54 +0000)]
Add super-register set.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36295 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoReset vertex.
Devang Patel [Sat, 21 Apr 2007 00:36:45 +0000 (00:36 +0000)]
Reset vertex.
Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070416/048092.html

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36294 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoNew test case.
Devang Patel [Sat, 21 Apr 2007 00:34:37 +0000 (00:34 +0000)]
New test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36293 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix a bug that prevented the JIT from working correctly after llvm_shutdown.
Chris Lattner [Sat, 21 Apr 2007 00:12:18 +0000 (00:12 +0000)]
Fix a bug that prevented the JIT from working correctly after llvm_shutdown.
Pass info objects are initialized by static ctors, so deleting them at
llvm_shutdown time prevents resurrection from working.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36292 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix regressions introduced by my previous patch: opt calls verifier in a
Chris Lattner [Fri, 20 Apr 2007 23:59:29 +0000 (23:59 +0000)]
Fix regressions introduced by my previous patch: opt calls verifier in a
way that the "Mod" ivar was not getting set.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36291 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAllow the lowering of ISD::GLOBAL_OFFSET_TABLE.
Lauro Ramos Venancio [Fri, 20 Apr 2007 23:02:39 +0000 (23:02 +0000)]
Allow the lowering of ISD::GLOBAL_OFFSET_TABLE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36290 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoavoid mutating a global in an accessor
Chris Lattner [Fri, 20 Apr 2007 22:57:20 +0000 (22:57 +0000)]
avoid mutating a global in an accessor

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36289 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agofit in 80 cols
Chris Lattner [Fri, 20 Apr 2007 22:40:40 +0000 (22:40 +0000)]
fit in 80 cols

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36288 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoComment out usage of write() for now.
Jeff Cohen [Fri, 20 Apr 2007 22:40:10 +0000 (22:40 +0000)]
Comment out usage of write() for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36287 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agorename JIT::state -> JIT::jitstate to avoid shadowing ExecutionEngine::state
Chris Lattner [Fri, 20 Apr 2007 22:40:05 +0000 (22:40 +0000)]
rename JIT::state -> JIT::jitstate to avoid shadowing ExecutionEngine::state

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36286 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix a problem where primitive types lose their name after llvm_shutdown is called.
Chris Lattner [Fri, 20 Apr 2007 22:33:47 +0000 (22:33 +0000)]
Fix a problem where primitive types lose their name after llvm_shutdown is called.
This also reduces the amount of work done at static construction time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36285 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agocatch a case that was biting jeffc
Chris Lattner [Fri, 20 Apr 2007 21:48:08 +0000 (21:48 +0000)]
catch a case that was biting jeffc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36284 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoImplement "general dynamic", "initial exec" and "local exec" TLS models for
Lauro Ramos Venancio [Fri, 20 Apr 2007 21:38:10 +0000 (21:38 +0000)]
Implement "general dynamic", "initial exec" and "local exec" TLS models for
X86 32 bits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36283 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd sub-registers set accessor.
Evan Cheng [Fri, 20 Apr 2007 21:28:05 +0000 (21:28 +0000)]
Add sub-registers set accessor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36282 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoEnable Objective-C tests.
Devang Patel [Fri, 20 Apr 2007 21:24:01 +0000 (21:24 +0000)]
Enable Objective-C tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36281 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoSpecify S registers as D registers' sub-registers.
Evan Cheng [Fri, 20 Apr 2007 21:20:10 +0000 (21:20 +0000)]
Specify S registers as D registers' sub-registers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36280 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoSpecify sub-register relations. e.g. RAX: [EAX], EAX: [AX], AX: [AL,AH].
Evan Cheng [Fri, 20 Apr 2007 21:15:21 +0000 (21:15 +0000)]
Specify sub-register relations. e.g. RAX: [EAX], EAX: [AX], AX: [AL,AH].

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36279 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd sub-registers sets.
Evan Cheng [Fri, 20 Apr 2007 21:13:46 +0000 (21:13 +0000)]
Add sub-registers sets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36278 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd sub-register sets.
Evan Cheng [Fri, 20 Apr 2007 21:11:22 +0000 (21:11 +0000)]
Add sub-register sets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36277 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agotest
Chris Lattner [Fri, 20 Apr 2007 20:49:25 +0000 (20:49 +0000)]
test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36276 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agotest commit
Chris Lattner [Fri, 20 Apr 2007 20:46:43 +0000 (20:46 +0000)]
test commit

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36275 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agotest commit
Chris Lattner [Fri, 20 Apr 2007 20:42:36 +0000 (20:42 +0000)]
test commit

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36274 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoadd a crazy idea
Chris Lattner [Fri, 20 Apr 2007 20:18:43 +0000 (20:18 +0000)]
add a crazy idea

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36273 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAvoid recursion.
Devang Patel [Fri, 20 Apr 2007 20:04:37 +0000 (20:04 +0000)]
Avoid recursion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36272 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMove more passes to using ETForest instead of DominatorTree.
Owen Anderson [Fri, 20 Apr 2007 06:27:13 +0000 (06:27 +0000)]
Move more passes to using ETForest instead of DominatorTree.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36271 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd null checks and const-ify these accessors.
Owen Anderson [Fri, 20 Apr 2007 05:44:16 +0000 (05:44 +0000)]
Add null checks and const-ify these accessors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36270 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTest check in
Christopher Lamb [Fri, 20 Apr 2007 05:05:24 +0000 (05:05 +0000)]
Test check in

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36269 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoremove cruft
Chris Lattner [Fri, 20 Apr 2007 04:45:58 +0000 (04:45 +0000)]
remove cruft

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36268 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix a very strange assertion message, patch by Christopher Lamb
Chris Lattner [Fri, 20 Apr 2007 03:27:36 +0000 (03:27 +0000)]
Fix a very strange assertion message, patch by Christopher Lamb
 CVS: ----------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36267 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix test.
Evan Cheng [Fri, 20 Apr 2007 00:45:36 +0000 (00:45 +0000)]
Fix test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36266 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMake Microsoft assembler and linker happy.
Jeff Cohen [Fri, 20 Apr 2007 00:33:54 +0000 (00:33 +0000)]
Make Microsoft assembler and linker happy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36265 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix a message, patch by Christopher Lamb.
Chris Lattner [Thu, 19 Apr 2007 18:42:38 +0000 (18:42 +0000)]
Fix a message, patch by Christopher Lamb.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36264 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix a bug in getFrameRegister.
Lauro Ramos Venancio [Thu, 19 Apr 2007 14:09:38 +0000 (14:09 +0000)]
Fix a bug in getFrameRegister.
Reported by Raul Herbster.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36262 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMake use of ConstantInt::isZero instead of ConstantInt::isNullValue.
Zhou Sheng [Thu, 19 Apr 2007 05:39:12 +0000 (05:39 +0000)]
Make use of ConstantInt::isZero instead of ConstantInt::isNullValue.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36261 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMake the operations of APInt variables more efficient.
Zhou Sheng [Thu, 19 Apr 2007 05:35:00 +0000 (05:35 +0000)]
Make the operations of APInt variables more efficient.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36260 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix some VC++ warnings.
Jeff Cohen [Thu, 19 Apr 2007 02:04:09 +0000 (02:04 +0000)]
Fix some VC++ warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36259 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRevert Owen's last check-in. This is breaking Mac OS X / PPC llvm-gcc bootstrap.
Evan Cheng [Wed, 18 Apr 2007 22:39:00 +0000 (22:39 +0000)]
Revert Owen's last check-in. This is breaking Mac OS X / PPC llvm-gcc bootstrap.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36258 91177308-0d34-0410-b5e6-96231b3b80d8