1. Dan Villiom Podlaski Christiansen
  2. LLVM

Commits

Show all
Author Commit Message Date Builds
Ted Kremenek
tblgen -gen-clang-diags-options: Output OptionTable entries in lexicographic order.
Tags
4 tags
Ted Kremenek
'tblgen -gen-clang-diags-options' now outputs the OptionTable: static const WarningOption OptionTable[] = { {"unused-macros", DIAGS(UnusedMacrosDiags)} ... }; This table is not yet properly sorted.
Ted Kremenek
Add another Clang TableGen-backend (-gen-clang-diags-options) for emitting declarations for controlling groups of warnings. Currently this transforms: def UnusedMacrosDiags : Option<"unused-macros", [pp_macro_not_used]>; into: static const diag::kind UnusedMacrosDiags[] = { diag::pp_macro_not_used };
Chris Lattner
include the null at the end of a memorybuffer as part of the buffer. This allows tblgen to handle include "foo.td" when the quote is exactly the last character in a file. rdar://6695728
Bill Wendling
These tests are now passing on Darwin because of r67139.
Chris Lattner
aha, DAE does have to think about PHI nodes. Many thanks to "Dr Evil" (aka Duncan) for pointing this out :)
Chris Lattner
Fix PR3826 - InstComb assert with vector shift, by not calling ComputeNumSignBits on a vector.
Chris Lattner
add an assertion to make it clear that PHI nodes are not allowed.
Zhou Sheng
Explicitly check for StoreInst, do not lose the chance to delete unused loads or bitcasts.
Zhou Sheng
Revert my previous change on Local.cpp, instead, fix the bug on scalarrepl. If the instruction has no users, it is also not only used by debug info and should not be deleted.
Rafael Avila de Espindola
Add -relocation-model=pic so that the test works both in Linux and Darwin.
Zhou Sheng
Fix a bug. If I->use_empty(), this method should return false.
Mon P Wang
Added missing support for widening when splitting an unary op (PR3683) and expanding a bit convert (PR3711). In both cases, we extract the valid part of the widen vector and then do the conversion.
Evan Cheng
Add another test case for r64440.
Evan Cheng
xfail these tests for now.
Chris Lattner
Disable the "call to immediate" optimization on x86-64. It is not safe in general because the immediate could be an arbitrary value that does not fit in a 32-bit pcrel displacement. Conservatively fall back to loading the value into a register and calling through it. We still do the optzn on X86-32.
Chris Lattner
Fix PR3807 by inserting 'insertelement' instructions in the normal dest of an invoke instead of after the invoke (in its block), which is invalid.
Bill Wendling
A more proper -mtriple.
Bill Wendling
Temporary fix. I think Rafael wanted this to be Linux-only.
Chris Lattner
LSR shouldn't ever try to hack on integer IV's larger than 64-bits. Right now it is not APInt clean, but even when it is it needs to be evaluated carefully to determine whether it is actually profitable. This fixes a crash on PR3806
Rafael Avila de Espindola
Don't force promotion of return arguments on the callee. Some architectures (like x86) don't require it. This fixes bug 3779.
Daniel Dunbar
Add BUILTIN_EXPECT Support/Compiler macro. - Use for exceptional buffer conditions in raw_ostream:write to shave off a cycle or two. - Please rename if you have a better one.
Chris Lattner
this is apparently passing now. Evan/Dan, please check to see if this is producing the expected code or not, I'm not sure what the test was intended to check.
Devang Patel
test case for rev. 67095.
Chris Lattner
Fix codegen to compute the size of an allocation by multiplying the size by the array amount as an i32 value instead of promoting from i32 to i64 then doing the multiply. Not doing this broke wrap-around assumptions that the optimizers (validly) made. The ultimate real fix for this is to introduce i64 version of alloca and remove mallocinst. This fixes PR3829
Chris Lattner
Remove a condition which is always true.
Evan Cheng
Add newline at end of file.
Scott Michel
CellSPU: Revert inadvertent mis-fix of fneg.
Daniel Dunbar
Minimal raw_ostream unit tests
Sanjiv Gupta
r66870 missed this out.
  1. Prev
  2. Next