Manuel Klimek
7582bbc67c
Allow for benchmarking more than 4GB of memory
...
llvm-svn: 146864
2011-12-19 09:56:35 +00:00
Manuel Klimek
51945952ce
Adds a flag to allow specifying the memory limitations of the JSON benchmark.
...
llvm-svn: 146863
2011-12-19 09:32:05 +00:00
Jakub Staszak
1b1d523d9e
- Use getExitingBlock instead of getExitingBlocks.
...
- Remove trailing spaces.
llvm-svn: 146854
2011-12-18 21:52:30 +00:00
Benjamin Kramer
1b54835a10
Another variadics tweak.
...
llvm-svn: 146852
2011-12-18 20:51:31 +00:00
Joerg Sonnenberger
d6cb7649d8
Allow inlining of functions with returns_twice calls, if they have the
...
attribute themselve.
llvm-svn: 146851
2011-12-18 20:35:43 +00:00
Benjamin Kramer
530b820500
Use the fancy new VariadicFunction template instead of a plain variadic function.
...
Some compilers were complaining about passing StringRef to it.
llvm-svn: 146850
2011-12-18 19:59:20 +00:00
Dylan Noblesmith
67c4970b59
capitalize project name, reference bugzilla
...
And fix the double-[]. It was including the [] as part of
the project name somehow, resulting in PACKAGE_TARNAME "-llvm-"
and a strange docdir default:
./configure --help | grep docdir
--docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
llvm-svn: 146849
2011-12-18 18:50:16 +00:00
Benjamin Kramer
32481916eb
Hexagon: Remove unused variables.
...
llvm-svn: 146846
2011-12-18 12:00:09 +00:00
Chad Rosier
5e5bee4c52
Revert 146728 as it's causing failures on some of the external bots as well as
...
internal nightly testers. Original commit message:
By popular demand, link up types by name if they are isomorphic and one is an
autorenamed version of the other. This makes the IR easier to read, because
we don't end up with random renamed versions of the types after LTO'ing a large
app.
llvm-svn: 146838
2011-12-17 22:19:53 +00:00
Kevin Enderby
8b3deabd2d
Revert r146822 at Pete Cooper's request as it broke clang self hosting.
...
Hope I did this correctly :)
llvm-svn: 146834
2011-12-17 19:48:52 +00:00
Craig Topper
a913dde0ef
Remove an unused X86ISD node type.
...
llvm-svn: 146833
2011-12-17 19:16:44 +00:00
Benjamin Kramer
792edd3c75
X86: Factor the bswap asm matching to be slightly less horrible to read.
...
llvm-svn: 146831
2011-12-17 14:36:05 +00:00
Chandler Carruth
b071036b7b
As Doug pointed out (and I really should know), it is perfectly easy to
...
make VariadicFunction actually be trivial. Do so, and also make it look
more like your standard trivial functor by making it a struct with no
access specifiers. The unit test is updated to initialize its functors
properly.
llvm-svn: 146827
2011-12-17 10:20:15 +00:00
Pete Cooper
eadf124d2b
SimplifyCFG now predicts some conditional branches to true or false depending on previous branch on same comparison operands.
...
For example,
if (a == b) {
if (a > b) // this is false
Fixes some of the issues on <rdar://problem/10554090>
llvm-svn: 146822
2011-12-17 06:32:38 +00:00
Manuel Klimek
3c2848ea31
Deleting the json-bench-test until I understand why it is flaky.
...
llvm-svn: 146821
2011-12-17 06:29:32 +00:00
Evan Cheng
903231bc58
Fix a CPSR liveness tracking bug introduced when I converted IT block to bundle.
...
llvm-svn: 146805
2011-12-17 01:25:34 +00:00
Pete Cooper
ebf98c1304
Refactor code used in InstCombine::FoldAndOfICmps to new file.
...
This will be used by SimplifyCfg in a later commit.
llvm-svn: 146803
2011-12-17 01:20:32 +00:00
Rafael Espindola
d3df3d3527
Add back the MC bits of 126425. Original patch by Nathan Jeffords. I added the
...
asm parsing and testcase.
llvm-svn: 146801
2011-12-17 01:14:52 +00:00
Lang Hames
da07b3ad42
Make sure that the lower bits on the VSELECT condition are properly set.
...
llvm-svn: 146800
2011-12-17 01:08:46 +00:00
Jakob Stoklund Olesen
465cdf3ba4
Preserve more memory operands in ARMExpandPseudo.
...
I don't think this affects anything but verbose assembly.
llvm-svn: 146787
2011-12-17 00:07:02 +00:00
Dan Gohman
518cda42b9
The powers that be have decided that LLVM IR should now support 16-bit
...
"half precision" floating-point with a first-class type.
This patch adds basic IR support (but not codegen support).
llvm-svn: 146786
2011-12-17 00:04:22 +00:00
Eric Christopher
27886c6c1e
When recursing for the original size of a type, stop if we are at a
...
pointer or a reference type - we actually just want the size of the
pointer then for that.
Fixes rdar://10335756
llvm-svn: 146785
2011-12-16 23:42:45 +00:00
Eric Christopher
da011dd0e3
Resolve part of a fixme and add a new one.
...
llvm-svn: 146784
2011-12-16 23:42:42 +00:00
Eric Christopher
03faed3eac
Add a fixme here.
...
llvm-svn: 146783
2011-12-16 23:42:38 +00:00
Eric Christopher
09cd3568f4
Fix spacing.
...
llvm-svn: 146782
2011-12-16 23:42:35 +00:00
Eric Christopher
3e3ecd0ab6
Update documentation.
...
llvm-svn: 146781
2011-12-16 23:42:33 +00:00
Eric Christopher
365d083585
Extraneous whitespace and 80-col.
...
llvm-svn: 146780
2011-12-16 23:42:31 +00:00
Jakob Stoklund Olesen
9790187b6c
Fix off-by-one error in bucket sort.
...
The bad sorting caused a misaligned basic block when building 176.vpr in
ARM mode.
<rdar://problem/10594653>
llvm-svn: 146767
2011-12-16 23:00:05 +00:00
Dylan Noblesmith
1c419ff50d
APInt: update asserts for base-36
...
Hexatridecimal was added in r139695.
And fix the unittest that now triggers the assert.
llvm-svn: 146754
2011-12-16 20:36:31 +00:00
Jakob Stoklund Olesen
5af144809e
Don't adjust for alignment padding in OffsetIsInRange.
...
This adjustment is already included in the block offsets computed by
BasicBlockInfo, and adjusting again here can cause the pass to loop.
When CreateNewWater splits a basic block, OffsetIsInRange would reject
the new CPE on the next pass because of the too conservative alignment
adjustment. This caused the block to be split again, and so on.
llvm-svn: 146751
2011-12-16 19:10:00 +00:00
Benjamin Kramer
9ca2e7293b
Hexagon: Fix a nasty order-of-initialization bug.
...
Reenable the tests.
llvm-svn: 146750
2011-12-16 19:08:59 +00:00
Devang Patel
78847f0bbe
In DICompositeType, referenced to derived type is either metadata or null.
...
llvm-svn: 146744
2011-12-16 17:51:31 +00:00
Devang Patel
c16e1ed4bb
Clarify and fix subprogram description.
...
llvm-svn: 146743
2011-12-16 17:50:04 +00:00
Jakob Stoklund Olesen
2a05f691ab
Note ARM constant island alignment in the release notes.
...
The command line option should be removed, but not until the feature has
gotten a lot of testing. The ARMConstantIslandPass tends to have subtle
bugs that only show up after a while.
llvm-svn: 146739
2011-12-16 16:07:41 +00:00
Manuel Klimek
2c899a181c
Adds a JSON parser and a benchmark (json-bench) to catch performance regressions.
...
llvm-svn: 146735
2011-12-16 13:09:10 +00:00
Chandler Carruth
fd1f79871a
Put the '*' in the right place in the unit test. Forgot to fix up this
...
bit of style, sorry.
llvm-svn: 146733
2011-12-16 09:37:55 +00:00
Chandler Carruth
2fd51946ee
Make GCC happy by using makeAraryRef instead of the implicit conversion.
...
I have no idea why GCC can't cope with the implicit conversion and Clang
can, or whose bug it is. Grr.
llvm-svn: 146732
2011-12-16 09:36:16 +00:00
Chandler Carruth
1d47523a8e
Add a generic collection of class templates to ADT for building
...
variadic-like functions in C++98. See the comments in the header file
for a more detailed description of how these work. We plan to use these
extensively in the AST matching library. This code and idea were
originally authored by Zhanyong Wan. I've condensed it using macros
to reduce repeatition and adjusted it to fit better with LLVM's ADT.
Thanks to both David Blaikie and Doug Gregor for the review!
llvm-svn: 146729
2011-12-16 08:58:59 +00:00
Chris Lattner
3fdf98c60f
By popular demand, link up types by name if they are isomorphic and one is an
...
autorenamed version of the other. This makes the IR easier to read, because
we don't end up with random renamed versions of the types after LTO'ing a large app.
llvm-svn: 146728
2011-12-16 08:36:07 +00:00
Craig Topper
a4d411cb1b
Don't try to match 'unpackl/h v, v' for 32xi8 and 16xi16 when only AVX1 is supported. Fix 'unpackh v, v' for 256-bit types to understand 128-bit lanes.
...
llvm-svn: 146726
2011-12-16 08:06:31 +00:00
NAKAMURA Takumi
1b745d0086
Tweak CMake build on Cygwin.
...
llvm-svn: 146725
2011-12-16 06:21:08 +00:00
NAKAMURA Takumi
93d990bd61
Target/Hexagon: Fix CMake build.
...
llvm-svn: 146724
2011-12-16 06:21:02 +00:00
Andrew Trick
ca3417e932
Avoid a confusing assert for silly options: -unroll-runtime -unroll-count=1.
...
No need for an explicit test case for an unsupported combination of options.
llvm-svn: 146721
2011-12-16 02:03:48 +00:00
Kostya Serebryany
561dade58d
[asan] add a test for instrumenting globals
...
llvm-svn: 146718
2011-12-16 01:28:19 +00:00
Jim Grosbach
4a29971f02
ARM NEON aliases for vmovq.f*
...
llvm-svn: 146714
2011-12-16 00:12:22 +00:00
Jakob Stoklund Olesen
6a5f0a1906
Extract a method. No functional change.
...
llvm-svn: 146713
2011-12-16 00:12:05 +00:00
Daniel Dunbar
30a8976127
llvm-config: Fix --targets-built, I changed this to use the registry but wasn't
...
properly initializing the target infos. I decided it wasn't worth linking them
in for this, so just switched back to using the Makefile variable for now. We
can reconsider later if we ever get pluggable targets.
llvm-svn: 146711
2011-12-16 00:04:43 +00:00
Jim Grosbach
66886253a7
Thumb2 ADR assembly parsing w/o the .w suffix.
...
llvm-svn: 146710
2011-12-15 23:52:17 +00:00
Eli Friedman
64944090ff
Make sure we correctly note the existence of an i8 immediate for vblendvps and friends, so we compute fixups correctly. PR11586.
...
llvm-svn: 146709
2011-12-15 23:46:18 +00:00
Daniel Dunbar
c7037f3f81
llvm-config: Update help text for removal of "backend" pseudo component.
...
llvm-svn: 146708
2011-12-15 23:43:17 +00:00