1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
Commit Graph

55572 Commits

Author SHA1 Message Date
David Greene
6de371c435 Change errs() to dbgs().
llvm-svn: 92567
2010-01-05 01:24:28 +00:00
David Greene
aff8539d1d Change errs() to dbgs().
llvm-svn: 92566
2010-01-05 01:24:24 +00:00
David Greene
8edc0a70f1 Change errs() to dbgs().
llvm-svn: 92565
2010-01-05 01:24:21 +00:00
Dan Gohman
9bcfdf98f1 Change SelectCode's argument from SDValue to SDNode *, to make it more
clear what information these functions are actually using.

This is also a micro-optimization, as passing a SDNode * around is
simpler than passing a { SDNode *, int } by value or reference.

llvm-svn: 92564
2010-01-05 01:24:18 +00:00
David Greene
271a921b6d Change errs() to dbgs().
llvm-svn: 92563
2010-01-05 01:24:08 +00:00
David Greene
d72cbd94d9 Change errs() to dbgs().
llvm-svn: 92562
2010-01-05 01:23:38 +00:00
David Greene
f091f28719 Change errs() to dbgs().
llvm-svn: 92561
2010-01-05 01:23:36 +00:00
David Greene
c6bb507854 Change errs() to dbgs().
llvm-svn: 92560
2010-01-05 01:23:34 +00:00
Devang Patel
3b08c33f33 Remove dead debug info intrinsics.
Intrinsic::dbg_stoppoint
 Intrinsic::dbg_region_start 
 Intrinsic::dbg_region_end 
 Intrinsic::dbg_func_start
AutoUpgrade simply ignores these intrinsics now.

llvm-svn: 92557
2010-01-05 01:10:40 +00:00
Dan Gohman
d3383baab0 Remove the SDNPAssociative properties for the flags-producing
operators. Eli pointed out that it's not obvious what that
would mean.

llvm-svn: 92555
2010-01-05 00:44:20 +00:00
Dan Gohman
c6e2e3147d Simplify this code; avoid duplicating the low-level implementation code.
llvm-svn: 92554
2010-01-05 00:42:54 +00:00
Dan Gohman
ce28cae7de Fix a typo in a comment.
llvm-svn: 92552
2010-01-05 00:30:22 +00:00
Daniel Dunbar
1fb9148421 Fix some struct/class specifier mismatches.
llvm-svn: 92550
2010-01-05 00:15:58 +00:00
David Greene
020c436572 Change errs() to dbgs().
llvm-svn: 92548
2010-01-05 00:10:05 +00:00
David Greene
f1e49c30ee Change errs() to dbgs().
llvm-svn: 92547
2010-01-05 00:03:48 +00:00
David Greene
1f1c9c4164 Change errs() to dbgs().
llvm-svn: 92545
2010-01-04 23:48:20 +00:00
David Greene
fdc1779703 Change errs() to dbgs().
llvm-svn: 92544
2010-01-04 23:39:17 +00:00
David Greene
5e5f312e5f Change errs() to dbgs().
llvm-svn: 92542
2010-01-04 23:22:07 +00:00
Daniel Dunbar
045966d7bf Update CMake LibDeps
llvm-svn: 92540
2010-01-04 23:17:24 +00:00
David Greene
1527704e3e Change errs() to dbgs().
llvm-svn: 92539
2010-01-04 23:14:46 +00:00
David Greene
155692eeb8 Change errs() to dbgs().
llvm-svn: 92535
2010-01-04 23:06:47 +00:00
Devang Patel
6915c52d56 Fix debug_inlined section entries for routines whose names are changed through __asm() extension.
llvm-svn: 92533
2010-01-04 23:04:36 +00:00
David Greene
dc5355f563 Change errs() to dbgs().
llvm-svn: 92532
2010-01-04 23:02:10 +00:00
David Greene
47695623c5 Change errs() to dbgs().
llvm-svn: 92529
2010-01-04 22:49:02 +00:00
David Greene
5f0560aeb8 Change errs() to dbgs().
llvm-svn: 92528
2010-01-04 22:41:43 +00:00
David Greene
593fd246ac Change errs() to dbgs().
llvm-svn: 92524
2010-01-04 22:33:16 +00:00
Daniel Dunbar
3e856e5f8f tblgen/OptParser: Use EmitSourceFileHeader.
llvm-svn: 92521
2010-01-04 22:03:51 +00:00
David Greene
8d04d65a84 Change errs() to dbgs().
llvm-svn: 92520
2010-01-04 22:02:01 +00:00
Douglas Gregor
57be824b19 Fix CMake build for InstCombine changes
llvm-svn: 92519
2010-01-04 21:58:55 +00:00
David Greene
56dd445b5f Change errs() to dbgs().
llvm-svn: 92518
2010-01-04 21:48:34 +00:00
David Greene
42bc25814f Change errs() to dbgs().
llvm-svn: 92516
2010-01-04 21:35:15 +00:00
David Greene
d43c9cad00 Change errs() to dbgs().
llvm-svn: 92515
2010-01-04 21:26:07 +00:00
Dan Gohman
73b0882c6e Make this test more portable.
llvm-svn: 92514
2010-01-04 21:23:34 +00:00
Evan Cheng
275a43dadb Perform this folding as a target specific dag combine:
(or (x << c) | (y >> (64 - c))) ==> (shld64 x, y, c)

The isel patterns may not catch all the cases if general dag combine has reduced width of source operands.

llvm-svn: 92513
2010-01-04 21:22:48 +00:00
Dan Gohman
2754bdcfdb Use a pointer type rather than MVT::Other for the ExternalSymbol node used
in an inline asm.

llvm-svn: 92512
2010-01-04 21:00:54 +00:00
Dan Gohman
f5f090c2c5 Remove some README.txt entries which are now implemented.
llvm-svn: 92511
2010-01-04 20:55:05 +00:00
Devang Patel
e04ac70892 Remove oversimplified test case.
llvm-svn: 92510
2010-01-04 20:54:06 +00:00
Dan Gohman
b71bc40eed Add some tests and update an existing test to reflect recent
x86 isel peeps.

llvm-svn: 92509
2010-01-04 20:53:54 +00:00
Dan Gohman
5f107150ed A use by operand 1 or 2 of a SELECT is not a FLAGS use. This
lets the test-elimination work in more conditional-move cases.

llvm-svn: 92508
2010-01-04 20:52:50 +00:00
Dan Gohman
f87ad693cf Flags-producing add, and, or, etc. have the same profibility
rules as normal add, and, or, etc.

llvm-svn: 92507
2010-01-04 20:51:50 +00:00
Dan Gohman
29583f656d Add SDNPCommutative and SDNPAssociative to several X86 target nodes.
This lets isel fold loads into them in more cases.

llvm-svn: 92506
2010-01-04 20:51:05 +00:00
Devang Patel
23fa5c982d Fix begin and end markers for nested scopes.
llvm-svn: 92505
2010-01-04 20:44:00 +00:00
Dan Gohman
a89531ec4f Replace some special-case code which probably was buggy with an assertion
verifying that the special case does not occur.

llvm-svn: 92504
2010-01-04 20:36:57 +00:00
Dan Gohman
f47c2a2335 Remove the CPAttrParentAsRoot code, which is unused, and inconvenient
for a refactoring I'm working on.

llvm-svn: 92503
2010-01-04 20:31:55 +00:00
David Greene
ff1cb647fb Change errs() to dbgs().
llvm-svn: 92502
2010-01-04 19:57:26 +00:00
Devang Patel
46d7029a91 The test, derived from optimzed IR, does not mention "bar" in debug info anywhere so the dwarf writer is not expected to emit any debug info for function "bar".
llvm-svn: 92499
2010-01-04 19:41:13 +00:00
David Greene
1c49766403 Change errs() to dbgs().
llvm-svn: 92498
2010-01-04 19:36:42 +00:00
David Greene
11dfd04083 Change errs() to dbgs().
llvm-svn: 92496
2010-01-04 19:10:20 +00:00
Chris Lattner
3b060b2d41 Truncate GEP indexes larger than the pointer size down to pointer size
when doing this transform if the GEP is not inbounds.  No testcase because
it is very difficult to trigger this: instcombine already canonicalizes
GEP indices to pointer size, so it relies specific permutations of the
instcombine worklist.

Thanks to Duncan for pointing this possible problem out.

llvm-svn: 92495
2010-01-04 18:57:15 +00:00
Chris Lattner
8304a93ff4 silence a bogus 'might be used uninit' warning from GCC.
llvm-svn: 92494
2010-01-04 18:48:26 +00:00