- May 16, 2013
-
-
Rafael Espindola authored
Without this change nothing was covering this addFrameMove: // For 64-bit SVR4 when we have spilled CRs, the spill location // is SP+8, not a frame-relative slot. if (Subtarget.isSVR4ABI() && Subtarget.isPPC64() && (PPC::CR2 <= Reg && Reg <= PPC::CR4)) { MachineLocation CSDst(PPC::X1, 8); MachineLocation CSSrc(PPC::CR2); MMI.addFrameMove(Label, CSDst, CSSrc); continue; } llvm-svn: 181976 -
Rafael Espindola authored
llvm-svn: 181975
-
Lang Hames authored
llvm-svn: 181973
-
Reed Kotler authored
This creates stubs that help Mips32 functions call Mips16 functions which have floating point parameters that are normally passed in floating point registers. llvm-svn: 181972
-
Richard Trieu authored
crash on an explicit specialization of a member function in a class scope. llvm-svn: 181971
-
Richard Trieu authored
prevents further errors and some overflows in size calculations. One overflow was previously triggering an assert. llvm-svn: 181970
-
Richard Smith authored
llvm-svn: 181969
-
rdar://problem/11158023Enrico Granata authored
Make type summary add and breakpoint command add show an helpful prototype + argument reference when manually typing Python code for these elements llvm-svn: 181968
-
Richard Smith authored
The page is generated from a text file listing DR numbers and implementation status, plus a copy of the cwg_index.html from the WG21 website. Recipe: $ wget http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_index.html $ ./make_cxx_dr_status >! cxx_dr_status.html The intent here is to go through all the DRs, add tests for each one, then mark them as done once such tests are committed and passing. I've not linked to this page from anywhere, since it doesn't contain any useful information yet. llvm-svn: 181967
-
Eric Christopher authored
llvm-svn: 181966
-
Eric Christopher authored
llvm-svn: 181965
-
Eric Christopher authored
once. Should be no functional change. llvm-svn: 181964
-
Eric Christopher authored
llvm-svn: 181963
-
Eric Christopher authored
llvm-svn: 181962
-
Eric Christopher authored
going to go anywhere. llvm-svn: 181961
-
Eric Christopher authored
llvm-svn: 181960
-
Adrian Prantl authored
llvm-svn: 181959
-
Adrian Prantl authored
It used to point to the first call that caused the landing pad to be generated. rdar://problem/13888152 llvm-svn: 181958
-
Adrian Prantl authored
rdar://problem/13888152 llvm-svn: 181957
-
Greg Clayton authored
llvm-svn: 181948
-
David Blaikie authored
Revert "Debug Info: Using declarations/DW_TAG_imported_declaration of variables, types, and functions." This reverts commit r181393 (git 3923d6a87fe7b2c91cc4a7dbd90c4ec7e2316bcd). This seems to be emitting too much extra debug info for two (known) reasons: * full class definitions are emitted when only declarations are expected * unused using declarations still produce DW_TAG_imported_declarations llvm-svn: 181947
-
Jordan Rose authored
This class is a StmtVisitor that distinguishes between block-level and non-block-level statements in a CFG. However, it does so using a hard-coded idea of which statements might be block-level, which probably isn't accurate anymore. The only implementer of the CFGStmtVisitor hierarchy was the analyzer's DeadStoresChecker, and the analyzer creates a linearized CFG anyway (every non-trivial statement is a block-level statement). This also allows us to remove the block-expr map ("BlkExprMap"), which mapped statements to positions in the CFG. Apart from having a helper type that really should have just been Optional<unsigned>, it was only being used to ask /if/ a particular expression was block-level, for traversal purposes in CFGStmtVisitor. llvm-svn: 181945 -
Derek Schuff authored
This reverts r181898. llvm-svn: 181944
-
Eli Bendersky authored
This method is not being used/tested anywhere. llvm-svn: 181943
-
Arnold Schwaighofer authored
We only want to check this once, not for every conditional block in the loop. No functionality change (except that we don't perform a check redudantly anymore). llvm-svn: 181942
-
Rafael Espindola authored
llvm-svn: 181941
-
Fariborz Jahanian authored
working on new Objective-C array subscripting syntax. // rdar://13855682 llvm-svn: 181940
-
David Majnemer authored
This allows the test to correctly check symbol names. llvm-svn: 181939
-
Hal Finkel authored
Trying to unbreak the VS build by copying some undef code from Utils/LowerInvoke.cpp. llvm-svn: 181938
-
David Majnemer authored
Increase the number of instructions LLVM recognizes as setting the ZF flag. This allows us to remove test instructions that redundantly recalculate the flag. llvm-svn: 181937
-
Howard Hinnant authored
Remove cv qualifiers from member pointers in the __member_pointer_traits test. This was causing a const-qualified bind result to malfunction. This was a recent regression due to the new use of __member_pointer_traits in restricting the __invokable and __invoke_of tests. llvm-svn: 181935
-
Bill Wendling authored
llvm-svn: 181930
-
Hal Finkel authored
The old PPCCTRLoops pass, like the Hexagon pass version from which it was derived, could only handle some simple loops in canonical form. We cannot directly adapt the new Hexagon hardware loops pass, however, because the Hexagon pass contains a fundamental assumption that non-constant-trip-count loops will contain a guard, and this is not always true (the result being that incorrect negative counts can be generated). With this commit, we replace the pass with a late IR-level pass which makes use of SE to calculate the backedge-taken counts and safely generate the loop-count expressions (including any necessary max() parts). This IR level pass inserts custom intrinsics that are lowered into the desired decrement-and-branch instructions. The most fragile part of this new implementation is that interfering uses of the counter register must be detected on the IR level (and, on PPC, this also includes any indirect branches in addition to function calls). Also, to make all of this work, we need a variant of the mtctr instruction that is marked as having side effects. Without this, machine-code level CSE, DCE, etc. illegally transform the resulting code. Hopefully, this can be improved in the future. This new pass is smaller than the original (and much smaller than the new Hexagon hardware loops pass), and can handle many additional cases correctly. In addition, the preheader-creation code has been copied from LoopSimplify, and after we decide on where it belongs, this code will be refactored so that it can be explicitly shared (making this implementation even smaller). The new test-case files ctrloop-{le,lt,ne}.ll have been adapted from tests for the new Hexagon pass. There are a few classes of loops that this pass does not transform (noted by FIXMEs in the files), but these deficiencies can be addressed within the SE infrastructure (thus helping many other passes as well). llvm-svn: 181927 -
Hal Finkel authored
If the input operands to SETCC are promoted, we need to make sure that we either use the promoted form of both operands (or neither); a mixture is not allowed. This can happen, for example, if a target has a custom promoted i1-returning intrinsic (where i1 is not a legal type). In this case, we need to use the promoted form of both operands. This change only augments the behavior of the existing logic in the case where the input types (which may or may not have already been legalized) disagree, and should not affect existing target code because this case would otherwise cause an assert in the SETCC operand promotion code. This will be covered by (essentially all of the) tests for the new PPCCTRLoops infrastructure. llvm-svn: 181926
-
Bill Wendling authored
llvm-svn: 181925
-
Bill Wendling authored
The calls to fwrite/fread can be very expensive. GCC avoids this by using a buffer to read and write from the file, thus limiting the number of fwrite/fread calls. <rdar://problem/13466086> llvm-svn: 181924
-
Derek Schuff authored
IR optimisation passes can result in a basic block that contains: llvm.lifetime.start(%buf) ... llvm.lifetime.end(%buf) ... llvm.lifetime.start(%buf) Before this change, calculateLiveIntervals() was ignoring the second lifetime.start() and was regarding %buf as being dead from the lifetime.end() through to the end of the basic block. This can cause StackColoring to incorrectly merge %buf with another stack slot. Fix by removing the incorrect Starts[pos].isValid() and Finishes[pos].isValid() checks. Just doing: Starts[pos] = Indexes->getMBBStartIdx(MBB); Finishes[pos] = Indexes->getMBBEndIdx(MBB); unconditionally would be enough to fix the bug, but it causes some test failures due to stack slots not being merged when they were before. So, in order to keep the existing tests passing, treat LiveIn and LiveOut separately rather than approximating the live ranges by merging LiveIn and LiveOut. This fixes PR15707. Patch by Mark Seaborn. llvm-svn: 181922 -
Ashok Thirumurthi authored
Fixed an xpass due to r181841 on Linux with gcc. Note that the clang variant contains to xfail, and r181841 is a fix for the test. llvm-svn: 181918
-
rdar://problem/13128331Greg Clayton authored
Fixed "target symbols add" to correctly extract all module specifications from a dSYM file that is supplied and match the symbol file to a current target module using the UUID values if they are available. This fixes the case where you add a dSYM file (like "foo.dSYM") which is for a renamed executable (like "bar"). In our case it was "mach_kernel.dSYM" which didn't match "mach_kernel.sys". llvm-svn: 181916
-
Samuel Benzaquen authored
llvm-svn: 181915
-