summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [AVX512] Add PALIGNR shuffle lowering for v32i16 and v16i32.Craig Topper2016-06-063-13/+17
| | | | llvm-svn: 271870
* [AVX512] Update tests to show shuffle decoding for vpshuflw/vpshufhw.Craig Topper2016-06-061-12/+12
| | | | llvm-svn: 271869
* [Kaleidoscope][BuildingAJIT] Split up the code-block describing the substitutionLang Hames2016-06-061-0/+8
| | | | | | | | of OptimizeLayer for CompileLayer in Chapter 2. Hopefully this will read a little more clearly. llvm-svn: 271868
* [Kaleidoscope][BuildingAJIT] Fix code-blocks in Chapter 2.Lang Hames2016-06-061-4/+4
| | | | llvm-svn: 271867
* Slightly improve Visual Studio visualization of clang::ExprMike Spertus2016-06-061-1/+1
| | | | | | | | | Now it gives the StmtClass of the Expr as well as the type. It's still a long way from full visualization of expressions, but I have found that having the class really helps when debugging, so definitely worth submitting. llvm-svn: 271866
* [Kaleidoscope][BuildingAJIT] Add tutorial text for Chapter 2.Lang Hames2016-06-061-13/+292
| | | | | | | | | | This chapter discusses IR optimizations, the ORC IRTransformLayer, and the ORC layer concept itself. The text is still pretty rough, but I think the main ideas are there. Feedback is very welcome, as always. llvm-svn: 271865
* [profile] in-process mergeing support (part-2)Xinliang David Li2016-06-065-1/+156
| | | | | | | | | | | (Part-1 merging API is in profile runtime) This patch implements a portable file opening API with exclusive access for the process. In-process profile merge requires profile file update to be atomic/fully sychronized. llvm-svn: 271864
* Fix function name lookup in IRExecutionEngine.cpp.Stephane Sezer2016-06-061-1/+1
| | | | | | | | | | | | | | Summary: Without this commit, when `log enable lldb expr` is enabled, the disassembly of JIT'ed code is never displayed. Reviewers: spyffe, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D20312 llvm-svn: 271863
* Fix spelling and capitalization in comments. NFCNick Lewycky2016-06-061-2/+2
| | | | llvm-svn: 271862
* Trailing whitespace.NAKAMURA Takumi2016-06-061-1/+1
| | | | llvm-svn: 271861
* Untabify.NAKAMURA Takumi2016-06-064-9/+8
| | | | llvm-svn: 271860
* add missing REQUIRESRafael Espindola2016-06-051-0/+1
| | | | llvm-svn: 271859
* LICM: Don't sink stores out of loops that may throw.Eli Friedman2016-06-052-0/+81
| | | | | | | | | | | | | | | | Summary: This hasn't been caught before because it requires noalias or similarly strong alias analysis to actually reproduce. Fixes http://llvm.org/PR27952 . Reviewers: hfinkel, sanjoy Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D20944 llvm-svn: 271858
* Add safety check to InstCombiner::commonIRemTransformsSanjoy Das2016-06-052-2/+127
| | | | | | | | | | | | | | | | Since FoldOpIntoPhi speculates the binary operation to potentially each of the predecessors of the PHI node (pulling it out of arbitrary control dependence in the process), we can FoldOpIntoPhi only if we know the operation doesn't have UB. This also brings up an interesting profitability question -- the way it is written today, commonIRemTransforms will hoist out work from dynamically dead code into code that will execute at runtime. Perhaps that isn't the best canonicalization? Fixes PR27968. llvm-svn: 271857
* Add test case for InstCombiner::commonIRemTransforms; NFCSanjoy Das2016-06-051-0/+23
| | | | | | | The PHI case in commonIRemTransforms was untested; add a trivial test case. llvm-svn: 271856
* Fix deadlock in ThreadPool unittest.Eli Friedman2016-06-051-1/+1
| | | | | | | (Yes, this only deadlocks on a computer with a single core; I'm using a virtual machine.) llvm-svn: 271855
* Add a missing REQUIRES.Rafael Espindola2016-06-051-0/+1
| | | | llvm-svn: 271854
* [Internalize] Test that __stack_chk_{guard, fail} are not internalized.Davide Italiano2016-06-051-0/+9
| | | | | | | r154645 introduced this feature without test. This should have better coverage now. llvm-svn: 271853
* Move GlobalDynIndex to SymbolBody.Rafael Espindola2016-06-053-6/+41
| | | | | | With that we can have local symbols with a tls gd index. llvm-svn: 271852
* [BitCode] Make sure atomicrmw's argument is an actual PointerTypeFilipe Cabecinhas2016-06-053-0/+6
| | | | llvm-svn: 271851
* [BitCode] Make sure storeatomic's argument is an actual PointerTypeFilipe Cabecinhas2016-06-053-0/+6
| | | | llvm-svn: 271850
* [BitCode] Diagnose GEPs with no indicesFilipe Cabecinhas2016-06-053-0/+8
| | | | llvm-svn: 271849
* [BitCode] Don't allow constants of void type.Filipe Cabecinhas2016-06-053-0/+8
| | | | llvm-svn: 271848
* Add Visual Studio Visualizer for ArrayRefMike Spertus2016-06-051-1/+12
| | | | | | Modeled after visualization of llvm::SmallVec llvm-svn: 271847
* [PM] Port IndVarSimplify to the new pass managerSanjoy Das2016-06-057-0/+61
| | | | | | | | | | | | | | | | | Summary: There are some rough corners, since the new pass manager doesn't have (as far as I can tell) LoopSimplify and LCSSA, so I've updated the tests to run them separately in the old pass manager in the lit tests. We also don't have an equivalent for AU.setPreservesCFG() in the new pass manager, so I've left a FIXME. Reviewers: bogner, chandlerc, davide Subscribers: sanjoy, mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D20783 llvm-svn: 271846
* [IndVars] Remove -liv-reduceSanjoy Das2016-06-054-144/+1
| | | | | | | | | | It is an off-by-default option that no one seems to use[0], and given that SCEV directly understands the overflow instrinsics there is no real need for it anymore. [0]: http://lists.llvm.org/pipermail/llvm-dev/2016-April/098181.html llvm-svn: 271845
* fix checksSanjay Patel2016-06-051-3/+3
| | | | | | update_test_checks.py got confused matching the variable names. llvm-svn: 271844
* [InstCombine] allow vector icmp bool transformsSanjay Patel2016-06-053-6/+6
| | | | llvm-svn: 271843
* add tests to show missing vector transformsSanjay Patel2016-06-051-0/+20
| | | | llvm-svn: 271842
* regenerate checksSanjay Patel2016-06-051-57/+78
| | | | llvm-svn: 271841
* update test to use FileCheckSanjay Patel2016-06-051-93/+175
| | | | llvm-svn: 271840
* fix documentation comments and other clean-ups; NFCSanjay Patel2016-06-051-74/+67
| | | | llvm-svn: 271839
* update test to use FileCheckSanjay Patel2016-06-051-11/+16
| | | | llvm-svn: 271838
* update test to FileCheckSanjay Patel2016-06-051-8/+12
| | | | llvm-svn: 271837
* Fixing problem with rsqrt28_sdMichael Zuckerman2016-06-051-1/+1
| | | | | | maskz_rsqrt28_sd mapped to mask_rsqrt28_sd and not to the maskz. llvm-svn: 271836
* [Clang][AVX512]Adding set4 intrinsicsMichael Zuckerman2016-06-052-0/+99
| | | | | | Differential Revision: http://reviews.llvm.org/D20866 llvm-svn: 271835
* [X86][XOP] Added VPERMIL2PD/VPERMIL2PS raw mask decoding for target shuffle ↵Simon Pilgrim2016-06-054-4/+50
| | | | | | combines llvm-svn: 271834
* [tsan] On OS X, build Go runtime with -mmacosx-version-minKuba Brecka2016-06-051-2/+2
| | | | | | | | We're not building the Go runtime with -mmacosx-version-min, which means it'll have a minimum deployment target set to the system you're building on. Let's make the code compile (and link) with -mmacosx-version-min=10.7. Differential Revision: http://reviews.llvm.org/D20670 llvm-svn: 271833
* [Clang][AVX512][Intrinsics] Adding two definitions _mm512_setzero and ↵Michael Zuckerman2016-06-052-0/+40
| | | | | | | | _mm512_setzero_epi32 Differential Revision: http://reviews.llvm.org/D20871 llvm-svn: 271832
* [X86][XOP] Added VPERMIL2PD/VPERMIL2PS as a target shuffle typeSimon Pilgrim2016-06-052-10/+30
| | | | llvm-svn: 271831
* [X86][XOP] Tidied up DecodeVPERMIL2PMask to more closely match ↵Simon Pilgrim2016-06-051-3/+5
| | | | | | DecodeVPERMILPMask. llvm-svn: 271830
* Include version in --reproduce.Rafael Espindola2016-06-052-7/+15
| | | | llvm-svn: 271829
* [AVX512] Add support for lowering PALIGNR for v64i8.Craig Topper2016-06-052-0/+26
| | | | | | Could do this for other types to, but this is what's needed to replace the instrinsic with native IR in clang. llvm-svn: 271828
* [AVX512] Split command lines and regenerate a test to prepare for a future ↵Craig Topper2016-06-051-8/+20
| | | | | | commit. llvm-svn: 271827
* [AVX512] Fix PANDN combining for v4i32/v8i32 when VLX is enabled.Craig Topper2016-06-052-1/+50
| | | | | | v4i32/v8i32 ANDs aren't promoted to v2i64/v4i64 when VLX is enabled. llvm-svn: 271826
* Fix wrong comment in header /NFCXinliang David Li2016-06-051-1/+1
| | | | llvm-svn: 271825
* Fix pass declaration order /NFCXinliang David Li2016-06-051-1/+1
| | | | llvm-svn: 271824
* [PM] Port GCOVProfiler pass to the new pass managerXinliang David Li2016-06-0511-1/+79
| | | | llvm-svn: 271823
* [PM] code refactoring /NFCXinliang David Li2016-06-053-74/+84
| | | | llvm-svn: 271822
* Disable the use of std::call_once on PowerPC due to an apparent bug inChandler Carruth2016-06-051-1/+2
| | | | | | | | | | | | | | | | libstdc++ (or in compilers, or somewhere, I can't track it down) that causes unittests that use INITIALIZE_PASS to crash. The analysis I've been able to do is that inside libstdc++'s implementation of std::call_once, it uses pthread_once, and when that returns an error code it throws std::system_error which then eventually calls std::terminate. Hopefully some of the folks who work on PPC can try to sort out what's going on here. Until then, they'll have to use the fallback implementation. llvm-svn: 271821
OpenPOWER on IntegriCloud