- Feb 13, 2016
-
-
Hongbin Zheng authored
Make Scop become more portable such that we can use it in a CallGraphSCC pass. The first step is to drop the analyses that are only used during Scop construction. This patch drop ScopDecection from Scop. llvm-svn: 260817
-
Krzysztof Parzyszek authored
Gcc 4.7.2-4 does not seem to have "emplace" in its implementation of map. This should fix the build failure on polly-amd64-linux. llvm-svn: 260816
-
Benjamin Kramer authored
Reduce the number of implicit StringRef->std::string conversions by threading StringRef through more APIs. No functionality change intended. llvm-svn: 260815
-
Benjamin Kramer authored
Found by asan. llvm-svn: 260814
-
Chandler Carruth authored
than the SCC object, and have it scan the instruction stream directly rather than relying on call records. This makes the behavior of this routine consistent between libc routines and LLVM intrinsics for libc routines. We can go and start teaching it about those being norecurse, but we should behave the same for the intrinsic and the libc routine rather than differently. I chatted with James Molloy and the inconsistency doesn't seem intentional and likely is due to intrinsic calls not being modelled in the call graph analyses. This also fixes a bug where we would deduce norecurse on optnone functions, when generally we try to handle optnone functions as-if they were replaceable and thus unanalyzable. llvm-svn: 260813
-
NAKAMURA Takumi authored
HexagonFrameLowering.cpp: Appease msc18 to give an explicit constructor SlotInfo() instead of member initializers. llvm-svn: 260812
-
Dmitry Polukhin authored
New implementation is easier to read and extend. Differential Revision: http://reviews.llvm.org/D17197 llvm-svn: 260811
-
Kostya Serebryany authored
[libFuzzer] don't require seed in fuzzer::Mutate, instead use the global Fuzzer object for fuzzer::Mutate. This makes custom mutators fast llvm-svn: 260810
-
Craig Topper authored
llvm-svn: 260809
-
Craig Topper authored
No need to make the subtarget feature bit enum a uint64_t. This was a leftover from when the feature bit enum contained masks instead of bit indices. llvm-svn: 260808
-
Argyrios Kyrtzidis authored
Many thanks to Yunzhong Gao for tracking this down! llvm-svn: 260807
-
Matthias Braun authored
This requirement was a huge hack to keep LiveVariables alive because it was optionally used by TwoAddressInstructionPass and PHIElimination. However we have AnalysisUsage::addUsedIfAvailable() which we can use in those passes. llvm-svn: 260806
-
Matt Arsenault authored
Tests for the new scalarize all private access options will be included with a future commit. The only functional change is to make the split/scalarize behavior for private access of > 4 element vectors to be consistent with the flat/global handling. This makes the spilling worse in the two changed tests. llvm-svn: 260804
-
Jason Molenda authored
case where a core file has a kernel binary and a user process dyld in the same one. Without this, we were always picking the dyld and trying to process it as a kernel. <rdar://problem/24446112> llvm-svn: 260803
-
NAKAMURA Takumi authored
llvm-svn: 260802
-
Kostya Serebryany authored
llvm-svn: 260801
-
Kostya Serebryany authored
llvm-svn: 260800
-
Kostya Serebryany authored
llvm-svn: 260799
-
Kostya Serebryany authored
llvm-svn: 260798
-
Kostya Serebryany authored
llvm-svn: 260797
-
Kostya Serebryany authored
llvm-svn: 260796
-
Steven Watanabe authored
Differential Revision: http://reviews.llvm.org/D17206 llvm-svn: 260795
-
Kostya Serebryany authored
llvm-svn: 260794
-
Siva Chandra authored
Summary: This is the form on other libc++ tests. Reviewers: sivachandra Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D17230 llvm-svn: 260793
-
Tom Stellard authored
This intrinsic will be used to expose dpp functionality to higher-level languages. It will map to the dpp version of v_mov_b32. llvm-svn: 260792
-
Keno Fischer authored
Summary: Export the CloneDebugInfoMetadata utility, which clones all debug info associated with a function into the first module. Also use this function in CloneModule on each function we clone (the CloneFunction entrypoint already does this). Without this, cloning a module will lead to DI quality regressions, especially since r252219 reversed the Function <-> DISubprogram edge (before we could get lucky and have this edge preserved if the DISubprogram itself was, e.g. due to location metadata). This was verified to fix missing debug information in julia and a unittest to verify the new behavior is included. Patch by Yichao Yu! Thanks! Reviewers: loladiro, pcc Differential Revision: http://reviews.llvm.org/D17165 llvm-svn: 260791
-
Matt Arsenault authored
As support expands to more runtimes, we'll need to distinguish between more than just HSA and unknown. This also lets us stop using unknown everywhere. llvm-svn: 260790
-
Davide Italiano authored
The use of auto and the name were very weird anyway. llvm-svn: 260789
-
Sunil Srivastava authored
Differential Revision: http://reviews.llvm.org/D15095 llvm-svn: 260788
-
Bob Wilson authored
This is a follow-up to PR26085. That was fixed in r257710 but the testcase there was incomplete. There is a related issue where the overload resolution for Objective-C incorrectly picks a method that is not valid without a bridge cast. The call to Sema::CheckSingleAssignmentConstraints that was added to SemaOverload.cpp's IsStandardConversion() function does not catch that case and reports that the method is Compatible even when it is not. The root cause here is that various Objective-C-related functions in Sema do not consistently return a value to indicate whether there was an error. This was fine in the past because they would report diagnostics when needed, but r257710 changed them to suppress reporting diagnostics when checking during overload resolution. This patch adds a new ACR_error result to the ARCConversionResult enum and updates Sema::CheckObjCARCConversion to return that value when there is an error. Most of the calls to that function do not check the return value, so adding this new result does not affect them. The one exception is in SemaCast.cpp where it specifically checks for ACR_unbridged, so that is also OK. The call in Sema::CheckSingleAssignmentConstraints can then check for an ACR_okay result and identify assignments as Incompatible. To preserve the existing behavior, it only changes the return value to Incompatible when the new Diagnose argument (from r257710) is false. Similarly, the CheckObjCBridgeRelatedConversions and ConversionToObjCStringLiteralCheck need to identify when an assignment is Incompatible. Those functions already return appropriate values but they need some fixes related to the new Diagnose argument. llvm-svn: 260787
-
Davide Italiano authored
llvm-svn: 260786
-
Argyrios Kyrtzidis authored
[RecursiveASTVisitor] Introduce dataTraverseStmtPre()/dataTraverseStmtPost() to allow clients to do before/after actions during data recursive visitation. This should fix the asan bot that hits stack overflow in a couple of test/Index tests. llvm-svn: 260785
-
Matt Arsenault authored
llvm-svn: 260784
-
Matt Arsenault authored
llvm-svn: 260783
-
Matt Arsenault authored
These provide direct access to the hardware instruction without the unit version required like llvm.sin/llvm.cos lowering requires. llvm-svn: 260782
-
Matt Arsenault authored
llvm-svn: 260781
-
Matt Arsenault authored
Also fixes missing f32 test. llvm-svn: 260780
-
Alexey Samsonov authored
llvm-svn: 260779
-
Matt Arsenault authored
llvm-svn: 260778
-
Matt Arsenault authored
Most files remain in a common amdgpu directory. Also switches barriers to to use convergent, and use llvm.amdgcn.s.barrier. This now requires 3.9/trunk to build amdgcn. llvm-svn: 260777
-