Chandler Carruth
a33e630c55
FileCheck-ize another X86 test, making it more precisely verify the
...
desired result based on the comments in the file.
llvm-svn: 134354
2011-07-02 20:43:16 +00:00
Chandler Carruth
af39a720fa
Quote two greps which contain parentheses.
...
llvm-svn: 134353
2011-07-02 20:43:13 +00:00
Chandler Carruth
959fe548d7
FileCheck-ize and simplify RUN lines.
...
llvm-svn: 134352
2011-07-02 20:43:11 +00:00
Chandler Carruth
02bece4957
FileCheck-ize
...
llvm-svn: 134351
2011-07-02 20:43:08 +00:00
Chandler Carruth
91c4008373
FileCheck-ize and tighten up assertions to only check the relevant sections.
...
llvm-svn: 134350
2011-07-02 20:43:04 +00:00
Chandler Carruth
4b15dd38a8
FileCheck-ize and cleanup IR.
...
llvm-svn: 134349
2011-07-02 20:43:01 +00:00
Chandler Carruth
a7440ff322
FileCheck-ize
...
llvm-svn: 134348
2011-07-02 20:42:59 +00:00
Peter Collingbourne
f52f0502ca
Fix Linux build errors
...
llvm-svn: 134347
2011-07-02 20:42:56 +00:00
Chandler Carruth
5c87df3179
Remove a grep that is already checked with FileCheck.
...
llvm-svn: 134346
2011-07-02 20:42:56 +00:00
Chandler Carruth
106ae72933
FileCheck-ize
...
llvm-svn: 134345
2011-07-02 20:42:53 +00:00
Chandler Carruth
fbb7c9ba06
FileCheck-ize and modernize IR.
...
llvm-svn: 134344
2011-07-02 20:42:50 +00:00
Chandler Carruth
81275c3029
FileCheck-ize and simplify RUNs.
...
llvm-svn: 134343
2011-07-02 20:42:48 +00:00
Chandler Carruth
f0e2e37518
FileCheck-ize and modernize the RUN line.
...
llvm-svn: 134342
2011-07-02 20:42:44 +00:00
Chandler Carruth
abd8a8f3ae
FileCheck-ize, tightening checks and avoiding a temporary file.
...
llvm-svn: 134341
2011-07-02 20:42:42 +00:00
Chandler Carruth
6e4d90f7c6
FileCheck-ize, tightening checks and avoiding a temporary file.
...
llvm-svn: 134340
2011-07-02 20:42:39 +00:00
Chandler Carruth
ff0e32536e
FileCheck-ize
...
llvm-svn: 134339
2011-07-02 20:42:36 +00:00
Chandler Carruth
d954bb7ebb
FileCheck-ize
...
llvm-svn: 134338
2011-07-02 20:42:33 +00:00
Chandler Carruth
362bff3bd3
FileCheck-ize a test, avoiding a temporary file.
...
llvm-svn: 134337
2011-07-02 20:42:31 +00:00
Chandler Carruth
f2a29b726f
FileCheck-ize and simplify this test.
...
llvm-svn: 134336
2011-07-02 20:42:28 +00:00
Chandler Carruth
7e44b420e1
FileCheck-ize
...
llvm-svn: 134335
2011-07-02 20:42:25 +00:00
Chandler Carruth
144cf1a974
FileCheck-ize another codegen test.
...
llvm-svn: 134334
2011-07-02 20:42:22 +00:00
Chandler Carruth
1d815f5373
Partially FileCheck-ize a test to remove a weird quoting situation.
...
llvm-svn: 134333
2011-07-02 20:42:20 +00:00
Chandler Carruth
8a3f20abac
FileCheck-ize another test, and upgrade its syntax a bit.
...
llvm-svn: 134332
2011-07-02 20:42:17 +00:00
Chandler Carruth
38d367e473
FileCheck-ize another codegen test, tightening it up.
...
llvm-svn: 134331
2011-07-02 20:42:14 +00:00
Chandler Carruth
bf252382b8
FileCheck-ize another test, making it much more precise for testing the
...
individual cases, while hard coding less about registers in use.
llvm-svn: 134330
2011-07-02 20:42:11 +00:00
Chandler Carruth
308b3b66b1
FileCheck-ize another test. This one is more clear and runs fewer
...
commands as a result.
llvm-svn: 134329
2011-07-02 20:42:08 +00:00
Chandler Carruth
334faf8f1a
FileCheck-ize a test, no functionality changed.
...
llvm-svn: 134328
2011-07-02 20:42:06 +00:00
Howard Hinnant
a77445621b
http://llvm.org/bugs/show_bug.cgi?id=10248
...
llvm-svn: 134327
2011-07-02 20:33:23 +00:00
Johnny Chen
ed48137734
Refine the post-processing phase of lldb.py to remove some more doxygen/c++-comment residues.
...
llvm-svn: 134326
2011-07-02 20:01:09 +00:00
Howard Hinnant
086d0de171
http://llvm.org/bugs/show_bug.cgi?id=10250
...
llvm-svn: 134325
2011-07-02 18:22:36 +00:00
Jordy Rose
1c32720248
Use subprocess.Popen instead of popen2 to stop a deprecation warning when running lit on OS X
...
llvm-svn: 134324
2011-07-02 17:28:55 +00:00
Duncan Sands
4bea037504
Remove unused array.
...
llvm-svn: 134323
2011-07-02 16:36:24 +00:00
Duncan Sands
a1c44332e5
Revert previous commit. It seems that whether casting to void
...
is valid or not depends on which system you build.
llvm-svn: 134321
2011-07-02 13:14:22 +00:00
Abramo Bagnara
9ae292d810
Rewritten fix in r134139 to conform evaluation result to original evaluation context.
...
llvm-svn: 134320
2011-07-02 13:13:53 +00:00
Duncan Sands
dda99eef54
Supress gcc-4.5 warning about the result not being used.
...
llvm-svn: 134319
2011-07-02 13:06:23 +00:00
Duncan Sands
d4659d6ef6
Remove unused constant.
...
llvm-svn: 134318
2011-07-02 13:05:02 +00:00
Rafael Espindola
ed33752769
Use getVNInfoAt.
...
llvm-svn: 134312
2011-07-02 07:50:27 +00:00
Jakob Stoklund Olesen
e925f22b40
Consistent diagnostic capitalization and redundant context elimination.
...
llvm-svn: 134311
2011-07-02 07:23:40 +00:00
Jakob Stoklund Olesen
54f7c59c1a
Better diagnostics when inline asm fails to allocate.
...
asm.c:2:7: error: ran out of registers during register allocation
asm(""::"r"(0), "r"(1), "r"(2), "r"(3), "r"(4), "r"(5), "r"(6), "r"(7), "r"(8), "r"(9));
^
llvm-svn: 134310
2011-07-02 07:17:37 +00:00
Rafael Espindola
36e11ff819
Check the VN of the src register at the two copies, not just the
...
register number.
llvm-svn: 134309
2011-07-02 05:34:02 +00:00
Eric Christopher
2eca9d5ddf
Be less specific about register allocation ordering.
...
llvm-svn: 134308
2011-07-02 04:06:41 +00:00
Jakob Stoklund Olesen
25a404eb81
Include a source location when complaining about bad inline assembly.
...
Add a MI->emitError() method that the backend can use to report errors
related to inline assembly. Call it from X86FloatingPoint.cpp when the
constraints are wrong.
This enables proper clang diagnostics from the backend:
$ clang -c pr30848.c
pr30848.c:5:12: error: Inline asm output regs must be last on the x87 stack
__asm__ ("" : "=u" (d)); /* { dg-error "output regs" } */
^
1 error generated.
llvm-svn: 134307
2011-07-02 03:53:34 +00:00
Andrew Trick
6d12309475
indvars -disable-iv-rewrite: bug fix involving weird geps and related cleanup.
...
llvm-svn: 134306
2011-07-02 02:34:25 +00:00
Nick Lewycky
0bdf13ea9a
Fix a typo, remove a tab, canonicalize some spacing. No functional change.
...
llvm-svn: 134305
2011-07-02 02:05:12 +00:00
Eli Friedman
ec485453b2
Reorganize builtins to separate out builtins which require MMX registers. No functional change.
...
llvm-svn: 134304
2011-07-02 01:53:37 +00:00
Jakob Stoklund Olesen
30a8563a61
Use a new strategy for preventing eviction loops in RAGreedy.
...
Every live range is assigned a cascade number the first time it is
involved in an eviction. As the evictor, it gets a new cascade number.
Every evictee is assigned the same cascade number as the evictor.
Eviction is prohibited if the evictor has a lower assigned cascade
number than the evictee.
This means that assigned cascade numbers are monotonically increasing
with every eviction, yet they are bounded by NextCascade which can only
be incremented by new live ranges. Thus, infinite loops cannot happen,
but eviction cascades can still be triggered by new live ranges as we
want.
Thanks to Andy for explaining this to me.
llvm-svn: 134303
2011-07-02 01:37:09 +00:00
Douglas Gregor
4326dd9bcc
When producing -Wuninitialized Fix-Its for pointers, prefer " = NULL"
...
over "= 0". Fixes <rdar://problem/9714386>.
llvm-svn: 134302
2011-07-02 00:59:18 +00:00
Johnny Chen
73a44f6b99
Furnish some docstrings to be swigified into the generated lldb.py module.
...
Especially SBProcess.ReadMemory() and SBProcess.WriteMemory() because the generated autodoc strings
make no sense for Python programmers due to typemap (see lldb.swig).
llvm-svn: 134301
2011-07-02 00:57:52 +00:00
Eli Friedman
1310c68bb0
Don't use x86_mmx where it isn't necessary.
...
The start of some work on getting -mno-mmx working the way we want it to.
llvm-svn: 134300
2011-07-02 00:57:27 +00:00
Chandler Carruth
42f96b78ec
Make the GCC version proliferation worse by N+1 for the sake of
...
ArchLinux. =/ Fixes PR10246.
llvm-svn: 134299
2011-07-02 00:51:03 +00:00