- Aug 23, 2016
-
-
Peter Zotov authored
Patch by Michael Gorny. llvm-svn: 279544
-
Sanjay Patel authored
Completes the m_APInt changes for simplifyICmpWithConstant(). Other commits in this series: https://reviews.llvm.org/rL279492 https://reviews.llvm.org/rL279530 https://reviews.llvm.org/rL279534 https://reviews.llvm.org/rL279538 llvm-svn: 279543
-
Xinliang David Li authored
llvm-svn: 279542
-
Eugene Zelenko authored
llvm-svn: 279541
-
Jim Ingham authored
When, for instance, "step-in" steps into a function that it doesn't want to stop in (e.g. has no debug info) it will push a step-out plan to implement the step out so it can then continue stepping. These step out's don't use the result of the function stepped out of, so they shouldn't spend the time to compute it. llvm-svn: 279540
-
Chris Bieneman authored
Summary: Since we can now build the builtins without a full toolchain these files should no longer be needed. This is the last vestige of autoconf! Reviewers: compnerd, iains, jroelofs Subscribers: dberris, llvm-commits Differential Revision: https://reviews.llvm.org/D23777 llvm-svn: 279539
-
Sanjay Patel authored
llvm-svn: 279538
-
Justin Lebar authored
Summary: This greatly simplifies our handling of SDNode::SubclassData. NFC, hopefully. :) See discussion in D23035 for discussion about the design API of these bitfields. Reviewers: chandlerc Subscribers: llvm-commits, rnk Differential Revision: https://reviews.llvm.org/D23036 llvm-svn: 279537
-
Justin Lebar authored
llvm-svn: 279536
-
Eugene Zelenko authored
Differential revision: https://reviews.llvm.org/D23789 llvm-svn: 279535
-
Sanjay Patel authored
llvm-svn: 279534
-
Jim Ingham authored
Also, when appending path components, collapse multiple "/" into one at the join. llvm-svn: 279533
-
Mehdi Amini authored
An important performance setting on the LLVMContext for LTO is enableDebugTypeODRUniquing(), this adds an automatic merging of debug information in the context based on type ids. Also, the lto::Config includes a diagnostic handler that needs to be set on the Context, as well as the setDiscardValueNames() setting. llvm-svn: 279532
-
Nico Weber authored
clang already treats all inputs as utf-8. Warn if anything but utf-8 is passed. Do this by mapping source-charset to finput-charset, which already behaves like this. Slightly tweak finput-charset to accept "utf-8" case-insensitively. This matches gcc's and cl.exe's behavior, and IANA says that character set names are case-insensitive. https://reviews.llvm.org/D23807 llvm-svn: 279531
-
Sanjay Patel authored
...because like the corresponding code, this is just too big to keep adding to. And the next step is to add a vector version of each of these tests to show missed folds. Also, auto-generate CHECK lines and add comments for the tests that correspond to the source code. llvm-svn: 279530
-
Artem Dergachev authored
If a call expression represents a method call of a class template, and the method itself isn't templated, then the method may be considered to be a template instantiation without template specialization arguments. No longer crash when we could not find template specialization arguments. Patch by Raphael Isemann! Differential Revision: https://reviews.llvm.org/D23780 llvm-svn: 279529
-
Pete Cooper authored
That commit added a new version of Intrinsic::getName which should only be called when the intrinsic has no overloaded types. There are several debugging paths, such as SDNode::dump which are printing the name of the intrinsic but don't have the overloaded types. These paths should be ok to just print the name instead of crashing. The fix here is ultimately to just add a 'None' second argument as that calls the overload capable getName, which is less efficient, but this is a debugging path anyway, and not perf critical. Thanks to Björn Pettersson for pointing out that there were more crashes. llvm-svn: 279528
-
Simon Pilgrim authored
[X86][SSE] Demonstrate inability to recognise that (v)cvtpd2dq & (v)cvttpd2dq intrinsics implicitly zeroes the upper half of the xmm llvm-svn: 279527
-
Krzysztof Parzyszek authored
Commit r279241 unintentionally reverted that ability. llvm-svn: 279526
-
Xinliang David Li authored
llvm-svn: 279525
-
Duncan P. N. Exon Smith authored
I'll rename this to IListTest.cpp after a waiting period (tonight? tomorrow?), with a full explanation in that commit. First, I'm moving it aside because Git doesn't play well with case-only filename changes on case-insensitive file systems (and I suspect the same is true of SVN). This two-stage change should help to avoid spurious failures on bots that don't do clean checkouts. llvm-svn: 279524
-
Xinliang David Li authored
Differential Revision: http://reviews.llvm.org/D23619 llvm-svn: 279523
-
Adrian Prantl authored
This replaces an =default constructor with an explicit definition. llvm-svn: 279522
-
Simon Pilgrim authored
[X86][AVX] Updated fptosi_2f64_to_4i32 test to show missed opportunity to implicit zero the upper elements llvm-svn: 279521
-
Simon Pilgrim authored
llvm-svn: 279520
-
Alexander Kornienko authored
Added proper tests. llvm-svn: 279519
-
Simon Pilgrim authored
llvm-svn: 279518
-
Jacques Pienaar authored
The windows build bot did not like constexpr. llvm-svn: 279517
-
Alexander Kornienko authored
Added tests for the relative order of -extra-arg(-before) and ExtraArgs(Before). llvm-svn: 279516
-
Elliot Colp authored
The change in r279105 causes an infinite loop in some cases, as it sets the upper bits of an AND mask constant, which DAGCombiner::SimplifyDemandedBits then unsets. This patch reverts that part of the behaviour, instead relying on .td peepholes to perform the transformation to NILL. I reapplied my original fix for the problem addressed by r279105 (unsetting the upper bits, which prevents a compiler abort for a different reason). Differential Revision: https://reviews.llvm.org/D23781 llvm-svn: 279515
-
Davide Italiano authored
llvm-svn: 279514
-
Pavel Labath authored
The function was attempting to write the reply to the log even if the reply was empty. llvm-svn: 279513
-
Pavel Labath authored
The test was attempting to backtrace a process after every state change event (including the "running", and "restarted" ones), which is not a good idea. llvm-svn: 279512
-
Simon Pilgrim authored
[X86][SSE] Demonstrate inability to recognise that (v)cvtpd2ps intrinsics implicitly zeroes the upper half of the xmm llvm-svn: 279511
-
NAKAMURA Takumi authored
llvm-svn: 279510
-
NAKAMURA Takumi authored
"AllTargetsDescs" in llvm-mc/CMakeLists.txt expects not ${target}MCTargetDesc, but ${target}Desc. llvm-svn: 279509
-
Simon Pilgrim authored
[X86][SSE] Demonstrate inability to recognise that (v)cvtpd2ps implicitly zeroes the upper half of the xmm llvm-svn: 279508
-
Daniel Marjamaki authored
[clang-tidy] readability-non-const-parameter: add new check that warns when function parameters should be const The check will warn when the constness will make the function interface safer. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D15332 llvm-svn: 279507
-
Oliver Stannard authored
There is not an official documented ABI for frame pointers in Thumb2, but we should try to emit something which is useful. We use r7 as the frame pointer for Thumb code, which currently means that if a function needs to save a high register (r8-r11), it will get pushed to the stack between the frame pointer (r7) and link register (r14). This means that while a stack unwinder can follow the chain of frame pointers up the stack, it cannot know the offset to lr, so does not know which functions correspond to the stack frames. To fix this, we need to push the callee-saved registers in two batches, with the first push saving the low registers, fp and lr, and the second push saving the high registers. This is already implemented, but previously only used for iOS. This patch turns it on for all Thumb2 targets when frame pointers are required by the ABI, and the frame pointer is r7 (Windows uses r11, so this isn't a problem there). If frame pointer elimination is enabled we still emit a single push/pop even if we need a frame pointer for other reasons, to avoid increasing code size. We must also ensure that lr is pushed to the stack when using a frame pointer, so that we end up with a complete frame record. Situations that could cause this were rare, because we already push lr in most situations so that we can return using the pop instruction. Differential Revision: https://reviews.llvm.org/D23516 llvm-svn: 279506
-
Sagar Thakur authored
Reviewed by dvyukov Differential: D23644 llvm-svn: 279505
-