- Mar 16, 2017
-
-
Vitaly Buka authored
Fails LLVMFuzzer.LLVMFuzzer.value-profile-strncmp.test This reverts commit r297892. llvm-svn: 297910
-
Rong Xu authored
llvm-svn: 297909
-
- Mar 15, 2017
-
-
Zachary Turner authored
It was assuming various things about the PDB like file size which are going to be too high maintenance to maintain in a test. llvm-svn: 297908
-
Peter Collingbourne authored
Change the function that implements the pruning into a free function that takes the policy as a struct argument. Differential Revision: https://reviews.llvm.org/D31009 llvm-svn: 297907
-
Simon Pilgrim authored
llvm-svn: 297906
-
Simon Pilgrim authored
llvm-svn: 297905
-
Craig Topper authored
[StackColoring] Remove unused header file for post-order traversal. Update comment that indicated we were using it when we really use a depth-first search. NFC llvm-svn: 297904
-
Matt Arsenault authored
llvm-svn: 297903
-
Zachary Turner authored
llvm-svn: 297902
-
Zachary Turner authored
llvm-svn: 297901
-
Zachary Turner authored
Previously we did not have support for writing detailed module information for each module, as well as the symbol records. This patch adds support for this, and in doing so enables the ability to construct minimal PDBs from just a few lines of YAML. A test is added to illustrate this functionality. llvm-svn: 297900
-
Michael Kruse authored
Introduce ScopStmt::getSurroundingLoop() to replace getFirstNonBoxedLoopFor. getSurroundingLoop() returns the precomputed surrounding/first non-boxed loop. Except in ScopDetection, the list of boxed loops is only used to get the surrounding loop. getFirstNonBoxedLoopFor also requires LoopInfo at every use which is not necessarily available everywhere where we may want to use it. Differential Revision: https://reviews.llvm.org/D30985 llvm-svn: 297899
-
Eric Christopher authored
llvm-svn: 297898
-
Rong Xu authored
This patch adds the value profile support to profile the size parameter of memory intrinsic calls: memcpy, memcmp, and memmov. Differential Revision: http://reviews.llvm.org/D28965 llvm-svn: 297897
-
Guansong Zhang authored
llvm-svn: 297896
-
Rong Xu authored
This patch adds profile run time support to profile a range of values. This interface will be used in profiling the size of memory intrinsic calls. Differential Revision: http://reviews.llvm.org/D28964 llvm-svn: 297895
-
Dean Michael Berris authored
Summary: Add NO_EXEC_STACK_DIRECTIVE to xray assembly files Reviewers: dberris, javed.absar Reviewed By: dberris Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D30953 llvm-svn: 297894
-
Zvi Rackover authored
llvm-svn: 297893
-
Rong Xu authored
Summary: NSIs can be double-counted by different operations in SelectInstVisitor. Sink the the update to VM_counting mode only. Also reset the value for each counting operation. Reviewers: davidxl Reviewed By: davidxl Subscribers: xur, llvm-commits Differential Revision: https://reviews.llvm.org/D30999 llvm-svn: 297892
-
Vitaly Buka authored
Differential Revision: https://reviews.llvm.org/D30683 llvm-svn: 297891
-
Guansong Zhang authored
Currently the two flags can not work together. To illustrate the issue, we can have an one line file a.cl contains only an empty function cat a.cl void test(){} Then use clang -v -save-temps -x cl -Xclang -cl-std=CL2.0 -Xclang -finclude-default-header -target amdgcn -S -c a.cl we will get redefinition errors for various things. The reason is that the -finclude-default-header flag is not meant to be on cc1 command other than the preprocessor. The fix is modeled after the code just below the change to filter the -finclude-default-header flag out when we are not in the preprocess phase. Differential Revision: https://reviews.llvm.org/D30743 llvm-svn: 297890
-
David Blaikie authored
Patch by Simon Marchi! Differential Revision: https://reviews.llvm.org/D30994 llvm-svn: 297889
-
Zvi Rackover authored
Regression test for a target-independent bug keeps failing in the Hexagon backend due to what appears an unrelated issue. llvm-svn: 297888
-
Adrian McCarthy authored
llvm-svn: 297887
-
Sanjay Patel authored
llvm-svn: 297886
-
Simon Pilgrim authored
We were testing for the generic _mm_com_* intrinsics, but not the specific comparison mode versions. llvm-svn: 297885
-
Daniel Sanders authored
Summary: * Move namespace { * Trivial: Typo * RuleMatcher: Separate class and definition * Trivial: const findNodeEquiv Reviewers: t.p.northover, qcolombet, aditya_nandakumar, ab, rovka Reviewed By: rovka Subscribers: dberris, kristof.beyls, llvm-commits Differential Revision: https://reviews.llvm.org/D30531 llvm-svn: 297884
-
Adrian McCarthy authored
Together, these allow lldb-pdbdump to list all the modules from a PDB using a native reader (rather than DIA). Note that I'll probably be specializing NativeRawSymbol in a subsequent patch. Differential Revision: https://reviews.llvm.org/D30956 llvm-svn: 297883
-
Aaron Ballman authored
Add AST matchers for ObjCProtocolDecl, ObjCCategoryDecl, ObjCMethodDecl, ObjCIvarDecl, and ObjCPropertyDecl. Patch by Dave Lee. llvm-svn: 297882
-
Zachary Turner authored
llvm-svn: 297881
-
Chris Bieneman authored
This is another similar cleanup to other changes I've been making to simplify the AVX code in debugserver. llvm-svn: 297880
-
Reid Kleckner authored
llvm-svn: 297879
-
Zvi Rackover authored
Summary: Fixes pr32278 Reviewers: igorb, craig.topper, RKSimon, spatel, hfinkel Reviewed By: RKSimon Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D30978 llvm-svn: 297878
-
Derek Schuff authored
This change updates to the format of the 'names' sectionin the generated wasm binary to match the latest changesto the design and 'wabt'. Differential Revision: https://reviews.llvm.org/D30950 Patch by Sam Clegg llvm-svn: 297877
-
Simon Pilgrim authored
Prep work for PR31810 llvm-svn: 297876
-
Ahmed Bougacha authored
Currently, we create a G_CONSTANT for every "synthetic" integer constant operand (for instance, for the G_GEP offset). Instead, share the G_CONSTANTs we might have created by going through the ValueToVReg machinery. When we're emitting synthetic constants, we do need to get Constants from the context. One could argue that we shouldn't modify the context at all (for instance, this means that we're going to use a tad more memory if the constant wasn't used elsewhere), but constants are mostly harmless. We currently do this for extractvalue and all. For constant fcmp, this does mean we'll emit an extra COPY, which is not necessarily more optimal than an extra materialized constant. But that preserves the current intended design of uniqued G_CONSTANTs, and the rematerialization problem exists elsewhere and should be resolved with a single coherent solution. llvm-svn: 297875
-
Ahmed Bougacha authored
We're now able to select ADDWri thanks to the new complex pattern support. Extend that to ADDXri. llvm-svn: 297874
-
Matt Arsenault authored
computeKnownBits didn't handle fp_to_fp16 to report the high bits as 0. ARM maps the generic node to an instruction that does not modify the high bits of the register, so introduce a target node where the high bits are known 0. llvm-svn: 297873
-
Marshall Clow authored
Implement LWG#2761: 'basic_string should require that charT match traits::char_type'. Tests for string_view, too llvm-svn: 297872
-
Tim Northover authored
If we got unlucky with register allocation and actual constpool placement, we could end up producing a tTBB_JT with an index that's already been clobbered. Technically, we might be able to fix this situation up with a MOV, but I think the constant islands pass is complex enough without having to deal with more weird edge-cases. llvm-svn: 297871
-