- Aug 17, 2016
-
-
Wolfgang Pieb authored
When the inline spiller rematerializes an instruction, take the debug location from the instruction that immediately follows the rematerialization point. Patch by Andrea DiBiagio. Differential Revision: http://reviews.llvm.org/D23539 llvm-svn: 278822
-
Wei Mi authored
llvm-svn: 278821
-
Filipe Cabecinhas authored
Summary: Replacement for part of D23518 Code refactoring to allow us to move some more DescribeAddressIf* functions to work by getting the structured information, and then printing it. Reviewers: kcc, samsonov Subscribers: kubabrecka, llvm-commits Differential Revision: https://reviews.llvm.org/D23520 llvm-svn: 278820
-
Ed Maste authored
llvm-svn: 278819
-
Vitaly Buka authored
Summary: PR27453 Reviewers: eugenis Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D23481 llvm-svn: 278818
-
Sanjay Patel authored
There's some formatting and pointer deref ugliness here that I intend to fix in subsequent patches. The overall goal is to refactor the obnoxiously long switch and incrementally remove the restriction to scalar types (allow folds for vector splats). This patch introduces the use of m_APInt which means the RHSV reference is now a pointer (and may have matched a vector splat), but the check of 'RHS' remains, so vector folds are disallowed and no functional change is intended. llvm-svn: 278816
-
Reid Kleckner authored
None of these tests actually require bash, they just have quoting bugs when paths contain backslashes and colons. Fix them with the "%/T" lit substitution variants. llvm-svn: 278815
-
Reid Kleckner authored
This reverts commit r278783. It breaks usage of _xgetbv on Windows. llvm-svn: 278814
-
- Aug 16, 2016
-
-
Krzysztof Parzyszek authored
- Remove unused instructions: LDriq_pred_vec_V6, STriq_pred_vec_V6, and the 128B counterparts. - Rename: LDriq_pred_V6 PS_vloadrq_ai LDriq_pred_V6_128B PS_vloadrq_ai_128B STriq_pred_V6 PS_vstorerq_ai STriq_pred_V6_128B PS_vstorerq_ai_128B llvm-svn: 278813 -
Aaron Ballman authored
Reduce the number of allocations required for AST attributes. In test cases, the max resident memory changed from 65760k to 64476k which is 1.9% improvement. Allocations in grow_pod changed from 8847 to 4872 according to tcmalloc heap profiler. Overall running time remained the same. Patch by Eugene Kosov llvm-svn: 278812
-
Samuel Antao authored
llvm-svn: 278811
-
Ahmed Bougacha authored
llvm-svn: 278810
-
Ahmed Bougacha authored
llvm-svn: 278809
-
Ahmed Bougacha authored
We're going to need it for G_MUL, and, if other targets end up using something similar, we can easily put it in the generic selector. llvm-svn: 278808
-
David Callahan authored
Summary: This is part of a serious of patches to evolve ADCE.cpp to support removing of unnecessary control flow. This patch changes the data structures to hold liveness information to support the additional information we will eventually need. In particular we now have a notion of basic blocks being live because they contain a live operations. This will eventually feed into control dependence analysis of which branches are live. We cater to getting from instructions to associated block information and from blocks to information about their terminators. This patch also changes the structure of the main loop of the algorithm so that it alternates propagating liveness between instructions and usign control dependence information to mark branches live. We force all terminators live for now until we add code to handlinge removing control flow in a later patch. No changes to effective behavior with this patch Previous patches: D23065 [ADCE] Refactor anticipating new functionality (NFC) D23102 [ADCE] Refactoring for new functionality (NFC) Reviewers: nadav, majnemer, mehdi_amini Subscribers: freik, twoh, llvm-commits Differential Revision: https://reviews.llvm.org/D23225 llvm-svn: 278807
-
Samuel Antao authored
Unless we overload the default gcc toolchain with an empty string the system root used in the tests will be ignored if the user builds clang with a custom gcc toolchain. llvm-svn: 278806
-
Brendon Cahoon authored
The pipeliner was generating an invalid Phi name for an operand in the epilog block, which caused an assert in the live variable analysis pass. The fix is to the code that generates new Phis in the epilog block. In this case, there is an existing Phi that needs to be reused rather than creating a new Phi instruction. Differential Revision: https://reviews.llvm.org/D23513 llvm-svn: 278805
-
Ahmed Bougacha authored
For now, no support for immediates. llvm-svn: 278804
-
Ahmed Bougacha authored
Using the same register means nothing was checking for operand order. llvm-svn: 278803
-
Ahmed Bougacha authored
And mark it as legal. llvm-svn: 278802
-
Ahmed Bougacha authored
llvm-svn: 278801
-
Francis Ricci authored
This reverts commit cd5fa595648378f38cdad8b07e18433639c28a9c. llvm-svn: 278800
-
Pierre Gousseau authored
Following the discussion on D22038, this refactors a PowerPC specific setcc -> srl(ctlz) transformation so it can be used by other targets. Differential Revision: https://reviews.llvm.org/D23445 llvm-svn: 278799
-
Simon Pilgrim authored
llvm-svn: 278798
-
George Rimar authored
Previously lld showed version number and returned, that is different from ld and PR28999. Patch fixed that. llvm-svn: 278797
-
Ron Lieberman authored
llvm-svn: 278796
-
Sagar Thakur authored
Reviewed by eugenis Differential: D22994 llvm-svn: 278795
-
Simon Pilgrim authored
The combine was only matching v2i64 as it assumed lowering to MOVQ - but we have v2f64 patterns that match in a similar fashion llvm-svn: 278794
-
Sagar Thakur authored
Reviewed by eugenis Differential: D22993 llvm-svn: 278793
-
Tobias Grosser authored
Normally this is ensured when adding PHI nodes, but as PHI node dependences do not need to be added in case all incoming blocks are within the same non-affine region, this was missed. This corrects an issue visible in LNT's sqlite3, in case invariant load hoisting was disabled. llvm-svn: 278792
-
Haojian Wu authored
Reviewers: alexfh Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D23544 llvm-svn: 278791
-
Simon Pilgrim authored
llvm-svn: 278790
-
Prakhar Bahuguna authored
Summary: Fix for the upper bound check that was causing a build failure. Reviewers: olista01, rengolin, t.p.northover Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D23501 llvm-svn: 278789
-
Prakhar Bahuguna authored
Summary: The assembler currently does not check the branch target for CBZ/CBNZ instructions, which only permit branching forwards with a positive offset. This adds validation for the branch target to ensure negative PC-relative offsets are not encoded into the instruction, whether specified as a literal or as an assembler symbol. Reviewers: rengolin, t.p.northover Subscribers: llvm-commits, rengolin Differential Revision: https://reviews.llvm.org/D23312 llvm-svn: 278788
-
Simon Pilgrim authored
llvm-svn: 278787
-
James Molloy authored
This means we shouldn't emit ubsan detection code or warn. Fixes PR25552. llvm-svn: 278786
-
Pavel Labath authored
Despite its comment, the function is only used in the Client class, and its presence was merely complicating mock implementation in unit tests. llvm-svn: 278785
-
Job Noorman authored
Differential Revision: https://reviews.llvm.org/D23450 llvm-svn: 278784
-
Marina Yatsina authored
commit on behalf of guyblank Differential Revision: https://reviews.llvm.org/D21959 llvm-svn: 278783
-
Guy Blank authored
Differential Revision: https://reviews.llvm.org/D21958 llvm-svn: 278782
-