Nick Lewycky [Thu, 11 Jan 2007 02:38:21 +0000 (02:38 +0000)]
Quiet compiler warning. The only reason the function is marked virtual
is so that it can be called from inside a debugger.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33067
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Thu, 11 Jan 2007 02:32:38 +0000 (02:32 +0000)]
New predicate simplifier!
Please do not enable, there is still some known miscompile problem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33066
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Thu, 11 Jan 2007 01:10:25 +0000 (01:10 +0000)]
Add PassManagerType enum.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33065
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 11 Jan 2007 00:35:10 +0000 (00:35 +0000)]
Avoid taking the address of a macro by checking to see if stdin is defined
or not. This allows DynamicLibrary.cpp to compile on Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33064
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 11 Jan 2007 00:25:45 +0000 (00:25 +0000)]
Implement better constant folding of unordered FCMP predicates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33063
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Thu, 11 Jan 2007 00:19:00 +0000 (00:19 +0000)]
Robustify assingPassManager() for Module, Function and Basic Block
Passes.
Robustify PMStack.push()
Add dump() routine to print PMStack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33062
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 10 Jan 2007 19:50:43 +0000 (19:50 +0000)]
Allow LLI, in interpreter mode, to find stdin, stdout, and stderr. This is
a bit of a hack but it lets some of the llvm-test programs run.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33058
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 10 Jan 2007 09:18:16 +0000 (09:18 +0000)]
Back out the last patch which is a nightly test killer. The assertion
in getLocalSlot fires on many, many values. It broke nearly all of
the dejagnu tests. Simple changes to the assertion did not fix the
problem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33054
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Jan 2007 07:01:46 +0000 (07:01 +0000)]
Last refactoring before PR645: split up getSlot into getLocalSlot and getGlobalSlot.
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33053
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 10 Jan 2007 06:43:26 +0000 (06:43 +0000)]
eliminate some iterator gymnastics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33052
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 10 Jan 2007 04:17:32 +0000 (04:17 +0000)]
Change the file header name as this file was renamed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33051
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 10 Jan 2007 04:16:17 +0000 (04:16 +0000)]
Rename Writer.cpp as CBackend.cpp so it doesn't conflict with Writer.cpp
in the bytecode writer library. This helps with debugging.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33050
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 9 Jan 2007 23:29:37 +0000 (23:29 +0000)]
Fix a bug in heap-sra that caused compilation failure of office-ispell.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33043
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 9 Jan 2007 20:08:58 +0000 (20:08 +0000)]
Explain that bitcast can only cast a pointer to another pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33041
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 9 Jan 2007 17:09:09 +0000 (17:09 +0000)]
For PR1099:
Invert the "isSigned" logic in calls to printType and printPrimitiveType.
We want variables to be declared unsigned by default so that signless
operators like + and - perform the unsigned operation that LLVM expects
by default. Parameters with the sext attribute will be declared signed and
signed instructions will case operand values to signed regardless of the
type of the variable. This passes all tests and fixes PR1099.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33039
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 9 Jan 2007 08:04:59 +0000 (08:04 +0000)]
Inline insertValue into CreateModuleSlot/CreateFunctionSlot
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33038
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 9 Jan 2007 07:58:11 +0000 (07:58 +0000)]
Remove a bunch of complex logic that is completely dead: duplicates can
never be inserted!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33037
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 9 Jan 2007 07:55:49 +0000 (07:55 +0000)]
Split CreateSlot into two versions, one for globals and one for function-local
values
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33036
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 9 Jan 2007 07:46:21 +0000 (07:46 +0000)]
Remove extraneous return value from insertValue and getOrCreateSlot. Since
getOrCreateSlot no longer gets the slot, rename it to CreateSlot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33035
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 9 Jan 2007 06:38:06 +0000 (06:38 +0000)]
For PR1099:
Partial fix for this PR. Default function parameters to signed integer, just
like everything else in CBE. The bug was caused by incorrectly introducing
parameter attributes feature by choosing "signed" parameter if the
SExtAttribute was specified. Howeer, if no attribute is specified, this
causes it to become unsigned which is incorrect. Reversing the logic so
that signedness is detected by "not ZExtAttribute" set fixes the issue.
This fixes 197.parser but there is more to do. Any comparison and possibly
other operators involving arguments may need to correctly cast the parameter
before its use, depending on the sign of the operator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33034
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 9 Jan 2007 06:25:15 +0000 (06:25 +0000)]
Test case for PR1099.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33033
91177308-0d34-0410-b5e6-
96231b3b80d8
Chandler Carruth [Tue, 9 Jan 2007 02:38:29 +0000 (02:38 +0000)]
Fixing a ">" redirect to be a ">>" redirect, so a sed command doesn't get clobbered.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33032
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 9 Jan 2007 00:31:52 +0000 (00:31 +0000)]
Add PR number for future reference
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33031
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 9 Jan 2007 00:09:34 +0000 (00:09 +0000)]
Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33030
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 9 Jan 2007 00:05:55 +0000 (00:05 +0000)]
PR1085 is fixed now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33029
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 8 Jan 2007 23:58:27 +0000 (23:58 +0000)]
Added a test case from PR1075.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33028
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 8 Jan 2007 23:57:40 +0000 (23:57 +0000)]
Undo xfail now scheduler deficiency has been fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33027
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 8 Jan 2007 23:55:53 +0000 (23:55 +0000)]
Naming consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33026
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 8 Jan 2007 23:50:38 +0000 (23:50 +0000)]
Fix for PR1075: bottom-up register-reduction scheduling actually increases register pressure.
- Fixed bugs in sethi-ullman number computation and priority queue comparison
functions.
- Separate code that handles priority computation special cases from SU number computation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33025
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 8 Jan 2007 23:04:05 +0000 (23:04 +0000)]
Implement some trivial FP foldings when -enable-unsafe-fp-math is specified.
This implements CodeGen/PowerPC/unsafe-math.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33024
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 8 Jan 2007 23:03:19 +0000 (23:03 +0000)]
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33023
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Mon, 8 Jan 2007 22:15:18 +0000 (22:15 +0000)]
Need to handle static declarations properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33022
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Mon, 8 Jan 2007 20:17:17 +0000 (20:17 +0000)]
Unbreak VC++ build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33021
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 8 Jan 2007 19:41:01 +0000 (19:41 +0000)]
Parameter attributes are part of a FunctionType and deserve to be factored
into comparisons of two FunctionTypes. Make it so.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33020
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 8 Jan 2007 19:38:58 +0000 (19:38 +0000)]
XFAIL this test until PR1085 mystery is resolved.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33019
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Mon, 8 Jan 2007 19:29:38 +0000 (19:29 +0000)]
Add PMStack, a Pass Manager stack.
Eventually, Top level pass managers will use this to keep track of
active pass managers. Eass pass will also learn how to find appropriate
manager from these managers stack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33018
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Mon, 8 Jan 2007 18:42:27 +0000 (18:42 +0000)]
Modules are consumed when they are merged together by Linker.
Clear modules vector so that destructure does not try to
delete these modules again. Patch by Chandler Carruth.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33017
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Mon, 8 Jan 2007 18:21:30 +0000 (18:21 +0000)]
And asm writing for packed struct initializers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33016
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Mon, 8 Jan 2007 18:16:47 +0000 (18:16 +0000)]
Make packed structs use packed initialiers for consistency
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33015
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Mon, 8 Jan 2007 18:15:35 +0000 (18:15 +0000)]
Packed structs use packed struct initializers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33014
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 8 Jan 2007 17:52:29 +0000 (17:52 +0000)]
testcase for PR1097
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33013
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 8 Jan 2007 16:32:00 +0000 (16:32 +0000)]
Comparison of primitive type sizes should now be done in bits, not bytes.
This patch converts getPrimitiveSize to getPrimitiveSizeInBits where it is
appropriate to do so (comparison of integer primitive types).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33012
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 8 Jan 2007 16:17:51 +0000 (16:17 +0000)]
For PR1097:
Enable complex addressing modes on 64-bit platforms involving two induction
variables by keeping a size and scale in 64-bits not 32.
Patch by Dan Gohman.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33011
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 8 Jan 2007 08:00:00 +0000 (08:00 +0000)]
For PR1090:
Clean up the definitions of the helper functions per Chris' review
suggestions so they are easier to read.
For PR1091:
Print minimum signed integer values as unsigned so that we get no warnings
from the C compiler about constant ranges and value comparisons.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33010
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 8 Jan 2007 07:55:15 +0000 (07:55 +0000)]
Fully specify the type of the llvm.va* intrinsics. This helps resolve
Pr1093
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33009
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 8 Jan 2007 07:36:34 +0000 (07:36 +0000)]
fix atexit. This is an overcomplex way of calling exit, but it is required,
as the jit intercepts exit calls to implement atexit handlers. This
fixes SingleSource/UnitTests/2003-05-14-AtExit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33008
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 8 Jan 2007 06:58:32 +0000 (06:58 +0000)]
Fix PR1090:
Implemented some llvm_fcmp_{pred} functions at the start of the function bodies
and use them for fcmp instructions and constant expressions. These help
implement the ordered and unordered comparisons necessary for correct exectuion
of these comparisons.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33007
91177308-0d34-0410-b5e6-
96231b3b80d8
Chandler Carruth [Mon, 8 Jan 2007 06:25:29 +0000 (06:25 +0000)]
Build libLLVMlto on non-Darwin architectures. Resolves PR1055: llvm.org/PR1055
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33006
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 8 Jan 2007 05:34:39 +0000 (05:34 +0000)]
Fix a bug in an assert that would never trigger.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33005
91177308-0d34-0410-b5e6-
96231b3b80d8
Chandler Carruth [Mon, 8 Jan 2007 03:10:00 +0000 (03:10 +0000)]
Testing commit, and adding an entry to CREDITS.TXT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33004
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 8 Jan 2007 01:26:33 +0000 (01:26 +0000)]
Convert uses of getPrimitiveSize that should be getPrimitiveSizeInBits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33003
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Jan 2007 23:30:23 +0000 (23:30 +0000)]
llvm.isunordered.* are gone.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33002
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Jan 2007 21:45:41 +0000 (21:45 +0000)]
Types should be const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33001
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Jan 2007 19:33:49 +0000 (19:33 +0000)]
Redefinition of functions is no longer permitted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33000
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 18:13:48 +0000 (18:13 +0000)]
the old trace values pass has been removed, remove its runtime library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32999
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 18:12:43 +0000 (18:12 +0000)]
this pass is unused
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32998
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 18:12:13 +0000 (18:12 +0000)]
remove an old instrumentation pass that is not used anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32997
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 08:53:26 +0000 (08:53 +0000)]
llvm.isunordered is no longer alive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32995
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 08:52:43 +0000 (08:52 +0000)]
llvm 2.0 doesn't support llvm.isunordered.*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32994
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 08:39:27 +0000 (08:39 +0000)]
relax type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32993
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 08:37:22 +0000 (08:37 +0000)]
remove support for llvm.isunordered
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32992
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 08:19:47 +0000 (08:19 +0000)]
remove llvm.isunordered
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32991
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 08:13:39 +0000 (08:13 +0000)]
relax type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32990
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 08:12:01 +0000 (08:12 +0000)]
Change the interface to Module::getOrInsertFunction to be easier to use,to resolve PR1088, and to help PR411.
This simplifies many clients also
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32989
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 08:09:25 +0000 (08:09 +0000)]
Change the interface to Module::getOrInsertFunction to be easier to use,
to resolve PR1088, and to help PR411.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32988
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Jan 2007 08:07:39 +0000 (08:07 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32987
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Jan 2007 08:07:10 +0000 (08:07 +0000)]
Upgrade the llvm.isunordered intrinsics to "fcmp uno" instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32986
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 07:54:34 +0000 (07:54 +0000)]
prepare for adjustment to getOrInsertFunction method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32985
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 07:40:09 +0000 (07:40 +0000)]
add some casts to support a change in the getOrInsertFunction interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32984
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 07:24:32 +0000 (07:24 +0000)]
relax type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32983
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 07:22:20 +0000 (07:22 +0000)]
relax some types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32982
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 06:59:47 +0000 (06:59 +0000)]
relax types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32981
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 06:58:05 +0000 (06:58 +0000)]
relax some types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32980
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 06:45:57 +0000 (06:45 +0000)]
remove support for old-style varargs upgrading
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32979
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 06:43:08 +0000 (06:43 +0000)]
this is an overcomplex way to call exit :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32978
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Jan 2007 03:27:39 +0000 (03:27 +0000)]
Add a test case for PR1086
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32977
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Jan 2007 03:24:48 +0000 (03:24 +0000)]
For PR1086:
Parameter attributes do have to be specially handled in the CBE. Implement
their handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32976
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 02:28:52 +0000 (02:28 +0000)]
Simplify the testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32975
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 02:24:26 +0000 (02:24 +0000)]
Fix PR1015 and Transforms/IndVarsSimplify/2007-01-06-TripCount.ll, a
miscompilation of Qt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32974
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 02:24:10 +0000 (02:24 +0000)]
Testcase for PR1015
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32973
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 02:05:20 +0000 (02:05 +0000)]
cast of int to bool no longer does a compare, rendering this fixme
obsolete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32972
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 01:14:12 +0000 (01:14 +0000)]
add -debug output for -indvars.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32971
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Jan 2007 00:41:39 +0000 (00:41 +0000)]
Update the documentation for SymbolTable class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32970
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Sun, 7 Jan 2007 00:41:20 +0000 (00:41 +0000)]
As PR1085 was fixed, back out workaround
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32969
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 00:32:15 +0000 (00:32 +0000)]
Testcase for PR1085
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32968
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Jan 2007 00:02:20 +0000 (00:02 +0000)]
New testcase for PR1084
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32967
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Jan 2007 23:53:43 +0000 (23:53 +0000)]
Add C wrappers for the LTO library (PR1081). Patch by Chandler Carruth!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32966
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Jan 2007 23:51:31 +0000 (23:51 +0000)]
fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32965
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Jan 2007 23:38:37 +0000 (23:38 +0000)]
testcase for pr1083
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32964
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Jan 2007 23:20:51 +0000 (23:20 +0000)]
wow, the link was already broken :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32963
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Jan 2007 23:19:38 +0000 (23:19 +0000)]
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32962
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Jan 2007 22:27:58 +0000 (22:27 +0000)]
Disable the macho writer until it is 100% functional. Enabling it when
broken invites bug reports.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32961
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Jan 2007 22:02:26 +0000 (22:02 +0000)]
this testcase is too large to be useful, and requires a .bc file to be
kept around. We can do without it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32960
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Jan 2007 19:53:32 +0000 (19:53 +0000)]
Fix regressions in InstCombine/call-cast-target.ll and InstCombine/2003-11-13-ConstExprCastCall.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32959
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Sat, 6 Jan 2007 18:24:26 +0000 (18:24 +0000)]
gcc often inserts it's own names for sections (e.g.
gnu.linkonce.t.FunctionName). Convert them to "normal" LLVM names,
otherwise linker won't be able to merge them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32958
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Jan 2007 07:28:52 +0000 (07:28 +0000)]
Regenerate for new bytecode file format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32957
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Jan 2007 07:24:44 +0000 (07:24 +0000)]
For PR411:
Take an incremental step towards type plane elimination. This change
separates types from values in the symbol tables by finally making use
of the TypeSymbolTable class. This yields more natural interfaces for
dealing with types and unclutters the SymbolTable class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32956
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Jan 2007 06:04:32 +0000 (06:04 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32955
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Jan 2007 06:04:04 +0000 (06:04 +0000)]
Accomodate new name manglinge done by llvm-upgrade
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32954
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Jan 2007 06:03:09 +0000 (06:03 +0000)]
For PR1082:
Solve several related problems by making variable names more unique and
dealing with recursive phi nodes. Unfortunately, this doesn't solve the
main issue reported in the PR, but its a step in that direction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32953
91177308-0d34-0410-b5e6-
96231b3b80d8