Daniel Dunbar
ce25f33e2a
Driver/FreeBSD: Infer the right arch name in the presence of -m32,-m64, for the
...
cases we care about.
- This is eventually going to be unified outside the host specific code.
llvm-svn: 110693
2010-08-10 17:39:05 +00:00
Daniel Dunbar
d215976208
MC/AsmParser: Fix a bug in macro argument parsing, which was dropping
...
parentheses from argument lists.
llvm-svn: 110692
2010-08-10 17:38:52 +00:00
Bob Wilson
407e76995b
Install llvmCore_Sim to the simulator SDK directory. Radar 8282845.
...
llvm-svn: 110687
2010-08-10 17:13:58 +00:00
Jakob Stoklund Olesen
284c2dbfd7
Recalculate the spill weight and allocation hint for virtual registers created
...
during live range splitting.
llvm-svn: 110686
2010-08-10 17:07:22 +00:00
Jakob Stoklund Olesen
5730846c2f
Fix test for more architectures. Patch by Tobias Grosser.
...
llvm-svn: 110685
2010-08-10 16:48:24 +00:00
Rafael Espindola
148c3284ee
Fix silly bug.
...
llvm-svn: 110684
2010-08-10 16:32:15 +00:00
Michael J. Spencer
18bf25f189
Revert "MC/MachO: Fix possible null pointer dereference."
...
This reverts commit 110575.
Target.isAbsolute() is true if SD would be null.
llvm-svn: 110683
2010-08-10 16:00:49 +00:00
Rafael Espindola
d1e241a4c3
Use RunPassesOn as in the rest of bugpoint.
...
llvm-svn: 110682
2010-08-10 15:46:11 +00:00
Douglas Gregor
e68aaca766
Teach the libclang cursor visitor to walk into the type information
...
provided by __builtin_types_compatible_p and __builtin_va_arg
expressions, now that Abramo has added proper type-source information
to those expressions.
llvm-svn: 110681
2010-08-10 15:02:34 +00:00
Mikhail Glushenkov
84fc4586f7
Simplify generating LLVMC_BUILTIN_PLUGIN.
...
Patch by NAKAMURA Takumi!
llvm-svn: 110680
2010-08-10 14:49:29 +00:00
Mikhail Glushenkov
fc838009d6
Trailing whitespace.
...
llvm-svn: 110679
2010-08-10 14:49:24 +00:00
Douglas Gregor
7058c265f5
Eliminate unnecessary uses of TemporaryBase in TreeTransform;
...
transforming TypeSourceInfos already gives us proper (and better)
source-location information.
llvm-svn: 110678
2010-08-10 14:27:00 +00:00
Abramo Bagnara
f9985b4560
Fixed redundant NNS loading.
...
llvm-svn: 110677
2010-08-10 13:46:45 +00:00
Benjamin Kramer
cb61b8c42b
Fix clang warnings.
...
llvm-svn: 110676
2010-08-10 13:22:03 +00:00
Chandler Carruth
ce200fd4c6
Mark this variable as used.
...
llvm-svn: 110667
2010-08-10 10:39:25 +00:00
Abramo Bagnara
27db23948c
Added TypeLocs to VAArgExpr node.
...
llvm-svn: 110666
2010-08-10 10:06:15 +00:00
Tobias Grosser
7fbe6cb429
RegionInfo: Do not assert if a BB is not part of the dominance tree.
...
llvm-svn: 110665
2010-08-10 09:54:35 +00:00
Tobias Grosser
fedeff8015
Fix failing testcase.
...
Those look like typos to me.
llvm-svn: 110664
2010-08-10 09:54:29 +00:00
Abramo Bagnara
092990ac68
Added TypeLocs to TypesCompatibleExpr node.
...
llvm-svn: 110663
2010-08-10 08:50:03 +00:00
Devang Patel
e03edfd3e7
Even if a constant's evaluated value is used, emit debug info for the constant variable.
...
llvm-svn: 110660
2010-08-10 07:24:25 +00:00
Devang Patel
b219746c80
Handle TAG_constant for integers.
...
llvm-svn: 110656
2010-08-10 07:11:13 +00:00
Evan Cheng
8d5d1c1331
Fix ARM hasFP() semantics. It should return true whenever FP register is
...
reserved, not available for general allocation. This eliminates all the
extra checks for Darwin.
This change also fixes the use of FP to access frame indices in leaf
functions and cleaned up some confusing code in epilogue emission.
llvm-svn: 110655
2010-08-10 06:26:49 +00:00
Bill Wendling
884514066e
Update CMake...sorry for the breakage.
...
llvm-svn: 110654
2010-08-10 05:16:06 +00:00
Devang Patel
18ba0b4ac3
Simplify.
...
llvm-svn: 110653
2010-08-10 04:12:17 +00:00
Devang Patel
b1e07b3f2a
Drop "const". It does not add value here.
...
llvm-svn: 110652
2010-08-10 04:09:06 +00:00
Eli Friedman
88f4ed9011
Fix redefinition of typedefs of fixable variably-modified array types; should
...
fix an issue compiling <windows.h>.
llvm-svn: 110651
2010-08-10 03:13:15 +00:00
Bruno Cardoso Lopes
39f215bd33
Add AVX movnt{pd,ps,dq} 256-bit intrinsics
...
llvm-svn: 110650
2010-08-10 02:49:24 +00:00
Evan Cheng
23ef829096
Add missing null check reported by Amaury Pouly.
...
llvm-svn: 110649
2010-08-10 02:39:45 +00:00
Bruno Cardoso Lopes
cedf23dfe5
Add AVX movmsk 256-bit intrinsics
...
llvm-svn: 110648
2010-08-10 02:34:56 +00:00
Bruno Cardoso Lopes
2ccdcad5d9
Remove replicate intrinsics, clang will generate shufflevector for those. The shuffles can't be matched by x86 codegen yet, but will soon
...
llvm-svn: 110647
2010-08-10 02:25:35 +00:00
Bruno Cardoso Lopes
3d3fc1d075
Make replicate intrinsics use shufflevector instead of dup builtins, also remove the dup builtins
...
llvm-svn: 110646
2010-08-10 02:23:54 +00:00
Bruno Cardoso Lopes
85da72a88f
Support AVX 256-bit load and store intrinsics
...
llvm-svn: 110645
2010-08-10 01:43:16 +00:00
Bruno Cardoso Lopes
8de4f98161
Use i32 instead of i8 for AVX dot product intrinsic
...
llvm-svn: 110644
2010-08-10 01:41:40 +00:00
Bruno Cardoso Lopes
413db95b09
Use i32 instead of i8 for dot product intrinsic
...
llvm-svn: 110643
2010-08-10 01:40:05 +00:00
Devang Patel
469c12d254
Do not include file static variable in pubnames list.
...
Refactor and simplify code to avoid redundant checks.
llvm-svn: 110642
2010-08-10 01:37:23 +00:00
Jim Ingham
a73f8ea4e5
Looks like this is how you identify executables in ELF.
...
llvm-svn: 110641
2010-08-10 01:36:46 +00:00
Devang Patel
2210aa2eca
There is no need to pubish file static variable's name. Do not rely on this code gen bug to check whether debug info is generated for such variables or not.
...
llvm-svn: 110640
2010-08-10 01:36:24 +00:00
Dan Gohman
ac6a3c4c66
Expand uses of python 2.6's "A if B else C" syntax into regular
...
if-else statements, to hopefully support older pythons (PR7850).
llvm-svn: 110638
2010-08-10 01:03:34 +00:00
Jim Ingham
3ebcf7f09b
Make breakpoint commands work again. Added a PerformAction to the stop info - actions are run when the
...
stop event is pulled from the event queue. Then made the StopInfoBreakpoint's PerformAction do the
breakpoint command.
Also fixed the StopInfoBreakpoint's GetDescription so it gets the breakpoint location info, not the breakpoint
site info.
llvm-svn: 110637
2010-08-10 00:59:59 +00:00
Chris Lattner
1ac0e2a027
remove code setting rw locks to PTHREAD_PROCESS_PRIVATE, which
...
is the default. Patch by NAKAMURA Takumi!
llvm-svn: 110636
2010-08-10 00:34:06 +00:00
Rafael Espindola
92b0093112
Run the assembler instead of gcc on Linux.
...
llvm-svn: 110635
2010-08-10 00:25:48 +00:00
Bruno Cardoso Lopes
b2b6b65b86
Patterns to match AVX cmp instructions
...
llvm-svn: 110633
2010-08-10 00:13:20 +00:00
Jakob Stoklund Olesen
e00c49da11
Transpose the calculation of spill weights such that we are calculating one
...
register at a time. This turns out to be slightly faster than iterating over
instructions, but more importantly, it allows us to compute spill weights for
new registers created after the spill weight pass has run.
Also compute the allocation hint at the same time as the spill weight. This
allows us to use the spill weight as a cost metric for copies, and choose the
most profitable hint if there is more than one possibility.
The new hints provide a very small (< 0.1%) but universal code size improvement.
llvm-svn: 110631
2010-08-10 00:02:26 +00:00
Bruno Cardoso Lopes
001d6fa174
Add matching patterns for vblend AVX intrinsics
...
llvm-svn: 110630
2010-08-10 00:02:05 +00:00
Bruno Cardoso Lopes
7880126768
Consider the last argument of vblend builtin to be i32 instead of i8
...
llvm-svn: 110629
2010-08-10 00:01:23 +00:00
Bruno Cardoso Lopes
1aeaba6c73
Fix the last argument type of AVX vblend intrinsics
...
llvm-svn: 110628
2010-08-10 00:00:22 +00:00
Bill Wendling
ca67835eaa
Merge the OptimizeExts and OptimizeCmps passes into one PeepholeOptimizer
...
pass. This pass should expand with all of the small, fine-grained optimization
passes to reduce compile time and increase happiment.
llvm-svn: 110627
2010-08-09 23:59:04 +00:00
Jason Molenda
2f1a7d9e76
Remove unused powerpc unwind support.
...
llvm-svn: 110626
2010-08-09 23:56:27 +00:00
Johnny Chen
1794184ada
Modified the remaining test cases to display more meaningful assert messages.
...
Added a generic message generator to the lldbtest.py base module.
llvm-svn: 110625
2010-08-09 23:44:24 +00:00
Jim Ingham
5aee162f97
Change Target & Process so they can really be initialized with an invalid architecture.
...
Arrange that this then gets properly set on attach, or when a "file" is set.
Add a completer for "process attach -n".
Caveats: there isn't currently a way to handle multiple processes with the same name. That
will have to wait on a way to pass annotations along with the completion strings.
llvm-svn: 110624
2010-08-09 23:31:02 +00:00