- Jun 15, 2011
-
-
Eli Friedman authored
Stop using memdep for a check that didn't really make sense with memdep. In terms of specific issues, using memdep here checks irrelevant instructions and won't work properly once we start returning "unknown" more aggressively from memdep. llvm-svn: 133035
-
Evan Cheng authored
the bits being cleared by the AND are not demanded by the BFI. The previous BFI dag combine rule was actually incorrect (or used to be correct until BFI representation changed). rdar://9609030 llvm-svn: 133034
-
Ted Kremenek authored
Change the output for -Wshift-overflow and -Wshift-sign-overflow to an unsigned hexadecimal. It makes more sense for looking at bits than a signed decimal does. Also, change the diagnostic's wording from "overrides" to "sets". This uses a new optional argument in APInt::toString() that adds the '0x' prefix to hexademical numbers. This fixes PR 9651. Patch by nobled@dreamwidth.org! llvm-svn: 133033
-
Ted Kremenek authored
toString() now takes an optional bool argument that, depending on the radix, adds the appropriate prefix to the integer's string representation that makes it into a meaningful C literal, e.g.: hexademical: '-f' becomes '-0xf' octal: '77' becomes '077' binary: '110' becomes '0b110' Patch by nobled@dreamwidth.org! llvm-svn: 133032
-
Eli Friedman authored
Add "unknown" results for memdep, which mean "I don't know whether a dependence for the given instruction exists in the given block". This cleans up all the existing hacks in memdep which represent this concept by returning clobber with various unrelated instructions. llvm-svn: 133031
-
Chris Lattner authored
llvm-svn: 133030
-
Jakob Stoklund Olesen authored
No functional change intended. llvm-svn: 133029
-
Tanya Lattner authored
Add an optimization that looks for a specific pair-wise add pattern and generates a vpaddl instruction instead of scalarizing the add. Includes a test case. llvm-svn: 133027
-
Rafael Espindola authored
llvm-svn: 133026
-
Douglas Gregor authored
inference, to be used (only) by the Objective-C rewriter. llvm-svn: 133025
-
Ted Kremenek authored
[format strings] correctly suggest correct type for '%@' specifiers. Fixes <rdar://problem/9607158>. llvm-svn: 133024
-
Anna Zaks authored
llvm-svn: 133023
-
Chad Rosier authored
converted to add x,x if x is a undef. add undef, undef does not guarantee that the resulting low order bit is zero. Fixes <rdar://problem/9453156> and <rdar://problem/9487392>. llvm-svn: 133022
-
Rafael Espindola authored
llvm-svn: 133021
-
Johnny Chen authored
llvm-svn: 133020
-
Daniel Dunbar authored
command produces error output on stdout instead of stderr (and suppress the stderr output while at it). llvm-svn: 133019
-
Eli Friedman authored
PR10136: fix PPCTargetLowering::LowerCall_SVR4 so that a necessary CopyToReg doesn't appear to be dead. Roman, since you're writing tests for other PPC-SVR4 vararg-related stuff, would you mind writing a test for this? llvm-svn: 133018
-
Anna Zaks authored
llvm-svn: 133017
-
- Jun 14, 2011
-
-
Fariborz Jahanian authored
no-format-y2k turn off -Wformat altogether. // rdar://9504680 llvm-svn: 133015
-
-
Jim Grosbach authored
Apparently llvm itself generates undefined assembler local labels, causing self-hosting problems with this patch. Reverting until that's sorted out. llvm-svn: 133013
-
-
Eli Friedman authored
llvm-svn: 133011
-
Jim Grosbach authored
When an assembler local symbol is used but not defined in a module, a Darwin assembler wants to issue a diagnostic to that effect. rdar://9559714 llvm-svn: 133010
-
Rafael Espindola authored
llvm-svn: 133009
-
Howard Hinnant authored
Provide names for template and function parameters in forward declarations. The purpose is to aid automated documentation tools. llvm-svn: 133008
-
Eli Friedman authored
llvm-svn: 133007
-
Johnny Chen authored
This patch is a starting point for the attach functionality. Signed-off-by:
Johnny Chen <johnny.chen@apple.com> llvm-svn: 133006
-
Chris Lattner authored
lexer is not a paste operator, it is a normal token. This fixes a conformance issue shown here: http://p99.gforge.inria.fr/c99-conformance/c99-conformance-clang-2.9.html and it defines away the crash from before. llvm-svn: 133005
-
Rafael Espindola authored
Dan noted that this would work on the case shown on the commit message. I think the case that was failing was a bb ending with a redundant conditional jump: ... jne foo foo: ... I was unable to find any such case in the tests or in a debug build of clang, so I will revert this part of the patch and watch the bots. llvm-svn: 133004
-
-
Evan Cheng authored
llvm-svn: 133002
-
Dan Gohman authored
llvm-svn: 133001
-
Dan Gohman authored
llvm-gcc-x86_64-linux-selfhost buildbot and others. llvm-svn: 133000
-
Jakob Stoklund Olesen authored
Measure the worst case number of probes for a miss instead of the less conservative number of probes required for an insertion. Lower the limit to < 6 probes worst case. This doubles the size of the ARM and X86 hash tables, other targets are unaffected. LiveVariables runs 12% faster with this change. <rdar://problem/9598545> llvm-svn: 132999
-
Douglas Gregor authored
in a noexcept exception specification because it isn't part of the canonical type. This ensures that we keep the exact expression written in the noexcept exception specification, rather than accidentally "adopting" a previously-written and canonically "equivalent" function prototype. Fixes PR10087. llvm-svn: 132998
-
Caroline Tice authored
Add error message; clean up comment. llvm-svn: 132997
-
Nico Weber authored
llvm-svn: 132996
-
Rafael Espindola authored
llvm-svn: 132995
-
David Majnemer authored
llvm-svn: 132994
-