- Dec 13, 2013
-
-
Rafael Espindola authored
They are equivalent and the size of 'a' and 's' is unused. llvm-svn: 197259
-
Rafael Espindola authored
They are equivalent and the size of 'a' and 's' is unused. llvm-svn: 197256
-
Andrew Trick authored
llvm-svn: 197255
-
Andrew Trick authored
llvm-svn: 197254
-
Andrew Trick authored
llvm-svn: 197253
-
Hans Wennborg authored
The tests were perhaps made too relaxed in r197164 when we switched to the new MinGW ABI. This makes sure we check explicitly for an optional thiscall attribute and nothing else. We should still look into whether we should print these attributes at all in these cases. llvm-svn: 197252
-
Fariborz Jahanian authored
property declaration has a memory management attribute (retain, copy, etc.). Sich properties are usually overridden to become 'readwrite' via a class extension (which require the memory management attribute specified). In the absence of class extension override, memory management attribute is needed to produce correct Code Gen. for the property getter in any case and this warning becomes confusing to user. // rdar://15641300 llvm-svn: 197251
-
Chad Rosier authored
step, floating-point reciprocal square root step, floating-point absolute difference, and integer/floating-point compare instructions. Also, move the scalar general arithmetic operation patterns closer to similar code. No functional change intended. llvm-svn: 197250
-
Rafael Espindola authored
llvm-svn: 197249
-
Rafael Espindola authored
llvm-svn: 197248
-
Greg Clayton authored
While investigating test suite failures when running the test suite remotely, I noticed we had 3 copies of code that launched a process: 1 - in "process launch" command 2 - SBTarget::Launch() with args 3 - SBTarget::Launch() with SBLaunchInfo "process launch" was launching through the platform if it was supported (this is needed for remote debugging) and the 2 and 3 were not. Now all code is in one place. llvm-svn: 197247
-
Jordan Rose authored
-analyzer-config options are now passed from scan-build through to ccc-analyzer and then to clang. Patch by Daniel Connelly! llvm-svn: 197246
-
Alp Toker authored
Raw lexers don't have a preprocessor so we need to null check. llvm-svn: 197245
-
Evgeniy Stepanov authored
llvm-svn: 197244
-
Joey Gouly authored
are used on non-kernel functions. Reviewed by Aaron over IRC! llvm-svn: 197243
-
Rafael Espindola authored
llvm-svn: 197242
-
Rafael Espindola authored
The cpp backend is not a reasonable fallback for a missing target. It is a very special backend, so it is reasonable to use it only if explicitly requested. While at it, simplify the interface a bit. llvm-svn: 197241
-
Tim Northover authored
Well, that's one way to pass a test, I suppose. Unfortunately actually doing the testing means I didn't pass all I thought (embedded v7a is not supported, apparently). I'll deal with that with the move to -none-macho rather than putting heinous hacks in right now. llvm-svn: 197240
-
Richard Sandiford authored
In those cases it's better to compare the result of the subtraction against zero. llvm-svn: 197239
-
Richard Sandiford authored
This originally came about after noticing that InstCombine turns some of the TMHH (icmp (and...), ...) tests into plain comparisons. Since there is no instruction to compare with a 64-bit immediate, TMHH is generally better than an ordered comparison for the cases that it can handle. llvm-svn: 197238
-
Iain Sandoe authored
Amend a comment. llvm-svn: 197237
-
Richard Sandiford authored
This patch makes more use of LPGFR and LNGFR. It builds on top of the LTGFR selection from r197234. Most of the tests are motivated by what InstCombine would produce. llvm-svn: 197236
-
Richard Sandiford authored
...in an attempt to rein back the increasingly complex selection code. A knock-on effect is that ICmpType is exposed from the outset, which slightly simplifies adjustSubwordCmp. The code is no piece of art even after this change, but at least it should be slightly better. No behavioral change intended. llvm-svn: 197235
-
Richard Sandiford authored
InstCombine turns (sext (trunc)) into (ashr (shl)), then converts any comparison of the ashr against zero into a comparison of the shl against zero. This makes sense in itself, but we want to undo it for z, since the sign- extension instruction has a CC-setting form. I've included tests for both the original and InstCombined variants, but the former already worked. The patch fixes the latter. llvm-svn: 197234
-
Kostya Serebryany authored
[asan] add flag uar_noreserve to use noreserve mmap for fake stack. uar_noreserve=1 will save some memory but also negatively affect performance llvm-svn: 197233
-
Evgeniy Stepanov authored
llvm-svn: 197232
-
Artyom Skrobov authored
llvm-svn: 197229
-
Benjamin Kramer authored
While it's safe for the X86-specific shift nodes, dag combining will kill generic nodes. Insert an AND to make it safe, isel will nuke it as x86's shift instructions have an implicit AND. Fixes PR16108, which contains a contraption to hit this case in between constant folders. llvm-svn: 197228
-
Evgeniy Stepanov authored
llvm-svn: 197226
-
Joerg Sonnenberger authored
with a temporary assertion and adjust the various test cases. llvm-svn: 197224
-
Matheus Almeida authored
branch instructions for mips and micromips instruction sets thus avoiding the situation of generating branches to undesired locations if offsets cannot be encoded. This patch also checks if a fixup cannot be applied and returns a fatal error if that's the case. llvm-svn: 197223
-
Manuel Klimek authored
Needed to change rename.m to set the right include path so we don't import a broken module due to recursive module checking. llvm-svn: 197222
-
Sylvestre Ledru authored
Fixes an issue where a signum => name mapping function has multiple case statements that define to the same integral value on my Linux (Ubuntu 12.04, x86_64). It's for SIGIO and SIGPOLL. In the case that they are both defined the same. Patch by Todd Fiala (but typos are mine) llvm-svn: 197221
-
Renato Golin authored
llvm-svn: 197220
-
Renato Golin authored
llvm-svn: 197219
-
Evgeniy Stepanov authored
llvm-svn: 197218
-
Rui Ueyama authored
/EXPORT command line option can take an ordinal, NONAME flag, and DATA flag. This patch is to parse these optional arguments. llvm-svn: 197217
-
Chandler Carruth authored
through an invoke instruction. The original patch for this was written by Mark Seaborn, but I've reworked his test case into the existing returns_twice test case and implemented the fix by the prior refactoring to actually run the cost analysis over invoke instructions, and then here fixing our detection of the returns_twice attribute to work for both calls and invokes. We never noticed because we never saw an invoke. =[ llvm-svn: 197216
-
Chandler Carruth authored
handles terminator instructions. The inline cost analysis inheritted some pretty rough handling of terminator insts from the original cost analysis, and then made it much, much worse by factoring all of the important analyses into a separate instruction visitor. That instruction visitor never visited the terminator. This works fine for things like conditional branches, but for many other things we simply computed The Wrong Value. First example are unconditional branches, which should be free but were counted as full cost. This is most significant for conditional branches where the condition simplifies and folds during inlining. We paid a 1 instruction tax on every branch in a straight line specialized path. =[ Oh, we also claimed that the unreachable instruction had cost. But it gets worse. Let's consider invoke. We never applied the call penalty. We never accounted for the cost of the arguments. Nope. Worse still, we didn't handle the *correctness* constraints of not inlining recursive invokes, or exception throwing returns_twice functions. Oops. See PR18206. Sadly, PR18206 requires yet another fix, but this refactoring is at least a huge step in that direction. llvm-svn: 197215
-
Rui Ueyama authored
I should have run it before submitting but forgot to do that. Doing it now... llvm-svn: 197214
-