- Oct 07, 2016
-
-
Hal Finkel authored
On Linux, there is no "debugserver" process, and the RUN-line substitution will fail if you try to substitute '%debugserver' with None. Fixes PR30492. llvm-svn: 283520
-
Hal Finkel authored
In the left part of the reports, we have things like U<number>; if some of these numbers use more digits than others, we don't want a space in between the U and the start of the number. Instead, the space should come afterward. This way it is clear that the number goes with the U and not any other optimization indicator that might come later on the line. Tests committed in r283518. llvm-svn: 283519
-
Hal Finkel authored
In the left part of the reports, we have things like U<number>; if some of these numbers use more digits than others, we don't want a space in between the U and the start of the number. Instead, the space should come afterward. This way it is clear that the number goes with the U and not any other optimization indicator that might come later on the line. llvm-svn: 283518
-
David Majnemer authored
GetCaseResults assumed that a terminator with one successor was an unconditional branch. This is not necessarily the case, it could be a cleanupret. Strengthen the check by querying whether or not the terminator is exceptional. llvm-svn: 283517
-
Hal Finkel authored
As this is intended to be a user-facing option, -no-demangle seems much better than -demangle=0. Add testing for the option. llvm-svn: 283516
-
Peter Collingbourne authored
llvm-svn: 283515
-
Colin LeMahieu authored
llvm-svn: 283514
-
Michael Kuperstein authored
Vectorizer tests in the target-independent directory should not have a target triple. If a test really needs to query a specific backend, it belongs in the right target subdirectory (which "REQUIRES" the right backend). Otherwise, it should not specify a triple. llvm-svn: 283512
-
Vedant Kumar authored
llvm-svn: 283511
-
Mehdi Amini authored
This reverts commit r283509, clang is hitting the assert. llvm-svn: 283510
-
Mehdi Amini authored
Summary: I had for the second time today a bug where llvm::format("%s", Str) was called with Str being a StringRef. The Linux and MacOS bots were fine, but windows having different calling convention, it printed garbage. Instead we can catch this at compile-time: it is never expected to call a C vararg printf-like function with non scalar type I believe. Reviewers: bogner, Bigcheese, dexonsmith Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25266 llvm-svn: 283509
-
Richard Smith authored
CheckSingleAssignmentConstraints. These no longer produce ExprError() when they have not emitted an error, and reliably inform the caller when they *have* emitted an error. This fixes some serious issues where we would fail to emit any diagnostic for invalid code and then attempt to emit code for an invalid AST, and conversely some issues where we would emit two diagnostics for the same problem. llvm-svn: 283508
-
Colin LeMahieu authored
llvm-svn: 283507
-
Vedant Kumar authored
llvm-svn: 283506
-
Vedant Kumar authored
Differential Revision: https://reviews.llvm.org/D24435 llvm-svn: 283505
-
Rui Ueyama authored
llvm-svn: 283504
-
Dan Gohman authored
Per spec changes, this implements block signatures, and adds just enough logic to produce correct block signatures at the ends of functions. Differential Revision: https://reviews.llvm.org/D25144 llvm-svn: 283503
-
Dan Gohman authored
Per spec changes, loop constructs no longer have a bottom label. https://reviews.llvm.org/D25118 llvm-svn: 283502
-
Dan Gohman authored
Per spec changes, store instructions in WebAssembly no longer have a return value. Update the instruction descriptions. Differential Revision: https://reviews.llvm.org/D25122 llvm-svn: 283501
-
- Oct 06, 2016
-
-
Wolfgang Pieb authored
basic block of a user. Patch by Andrea DiBiagio. Differential Revision: https://reviews.llvm.org/D24632 llvm-svn: 283500
-
Anton Yartsev authored
Currently if the path diagnostic consumer (e.g HTMLDiagnostics and PlistDiagnostics) do not support cross file diagnostics then the path diagnostic report is silently omitted in the case of cross file diagnostics. The patch adds a little verbosity to Clang in this case. The patch also adds help entry for the "--analyzer-output" driver option. llvm-svn: 283499
-
Richard Smith authored
llvm-svn: 283498
-
Todd Fiala authored
These are erroring out on macOS i386. Tracked by: rdar://28659145 llvm-svn: 283497
-
Pirama Arumuga Nainar authored
Summary: These nodes need legalization for 3-element vectors. This commit handles the legalization and adds tests for zext and sext. This fixes PR30614. Reviewers: RKSimon, srhines Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25268 llvm-svn: 283496
-
Eric Fiselier authored
Summary: Previously the statement `co_return {42}` would be transformed into `P.return_void()`, since the type of `{42}` is represented as `void` by Clang. This patch fixes the bug by checking for `InitListExpr` arguments and transforming them accordingly. Reviewers: majnemer, GorNishanov, rsmith Subscribers: mehdi_amini, cfe-commits Differential Revision: https://reviews.llvm.org/D25296 llvm-svn: 283495
-
Zachary Turner authored
llvm-svn: 283494
-
Todd Fiala authored
Tracked by: rdar://28658860 llvm-svn: 283493
-
Todd Fiala authored
This test is failing on CI. I cannot get it to fail on my local setup. Tracked by: rdar://28658529 llvm-svn: 283492
-
Francis Ricci authored
Summary: GetDisplayDemangledName will already return a ConstString() when there is neither a mangled name or a demangled name, so we don't need to special case here. This will fix GetDisplayName in cases where m_mangled contains only a demangled name and not a mangled name. Reviewers: clayborg, granata.enrico, sas Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D25201 llvm-svn: 283491
-
Rong Xu authored
Add a weak alias to the renamed Comdat function in IR level instrumentation, using it's original name. This ensures the same behavior w/ and w/o IR instrumentation, even for non standard conforming code. Differential Revision: http://reviews.llvm.org/D25339 llvm-svn: 283490
-
Richard Smith authored
the resulting specialization is not referenced by the rest of the AST. This both avoids performing unnecessary reinstantiations in downstream users of the AST file and fixes a bug (breaking modules self-host right now) where we would sometimes fail to emit a definition of a class template specialization if we imported just a declaration of it from elsewhere (see new testcase for reduced example). llvm-svn: 283489
-
Rui Ueyama authored
llvm-svn: 283488
-
Justin Lebar authored
Looks like the smart quote was copy/pasted from the C++ standard. The smart quote was not encoded as valid UTF-8 (?), even though vim was detecting the file as UTF-8. This broke the clang-format Python script, which tried to read the file using the same encoding as vim detected. llvm-svn: 283487
-
Michael Kuperstein authored
When replacing FrameIndex with BasePtr, we must preserve BasePtr for LEA64_32r since BasePtr is used later for stack adjustment if it is the same as StackPtr. Patch by H.J Lu <hjl.tools@gmail.com> Differential Revision: https://reviews.llvm.org/D23575 llvm-svn: 283486
-
Simon Pilgrim authored
As discussed on D23808 llvm-svn: 283485
-
Todd Fiala authored
Tracked by: rdar://28656677 llvm-svn: 283484
-
Todd Fiala authored
Tracked by: rdar://28656605 llvm-svn: 283483
-
Todd Fiala authored
Tracked by: rdar://28656532 llvm-svn: 283482
-
Todd Fiala authored
Tracked by: rdar://28656408 llvm-svn: 283481
-
Michael Kuperstein authored
This generalizes the build_vector -> vector_shuffle combine to support any number of inputs. The idea is to create a binary tree of shuffles, where the first layer performs pairwise shuffles of the input vectors placing each input element into the correct lane, and the rest of the tree blends these shuffles together. This doesn't try to be smart and create any sort of "optimal" shuffles. The assumption is that even a "poor" shuffle sequence is better than extracting and inserting the elements one by one. Differential Revision: https://reviews.llvm.org/D24683 llvm-svn: 283480
-