- Feb 17, 2020
-
-
Levon Ter-Grigoryan authored
Summary: Synthesize target.xml in lldb-server to avoid a long chain of qRegisterInfo packets, which can be slow over low-latency links. Reviewers: jarin, labath Reviewed By: labath Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D74217
-
Kerry McLaughlin authored
Summary: Implements the @llvm.aarch64.sve.index intrinsic, which takes a scalar base and step value. This patch also adds the printSImm function to AArch64InstPrinter to ensure that immediates of type i8 & i16 are printed correctly. Reviewers: sdesmalen, andwar, efriedma, dancgr, cameron.mcinally, rengolin Reviewed By: cameron.mcinally Subscribers: tatyana-krasnukha, tschuett, kristof.beyls, hiraditya, rkruppe, arphaman, psnobl, cfe-commits, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D74550
-
Sjoerd Meijer authored
Patch by Tamas Petz. Differential Revision: https://reviews.llvm.org/D74603
-
Simon Tatham authored
Summary: In the DAG pattern backend, `SimplifyTree` simplifies a pattern by removing bitconverts between two identical types. But that function is also run on the fragments list in instances of `PatFrags`, in which the types haven't been specified yet. So the input and output of the bitconvert always evaluate to the empty set of types, which makes them compare equal. So the test always passes, and bitconverts are unconditionally removed from the PatFrag RHS. Fixed by spotting the empty type set and using it to inhibit the optimization. Reviewers: nhaehnle, hfinkel Reviewed By: nhaehnle Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D74627
-
Jan Kratochvil authored
As discussed in https://reviews.llvm.org/D73206#1871895> simplifying usage of `user_id_t`. There is even written: // The compile unit ID is the index of the DWARF unit. DWARFUnit *dwarf_cu = info->GetUnitAtIndex(comp_unit->GetID()); Differential Revision: https://reviews.llvm.org/D74670
-
Sourabh Singh Tomar authored
-
Sjoerd Meijer authored
-
Sylvestre Ledru authored
-
Raphael Isemann authored
Commit 82b47b29 changes the way the stdlib.h header is structured which seems to cause strange lookup failures in the modules build. This updates a few failing tests so that they pass with the new behavior of stdlib.h. See the discussion in https://reviews.llvm.org/rG82b47b2978405f802a33b00d046e6f18ef6a47be
-
Kang Zhang authored
Modify the command option to add --enable-no-nans-fp-math -
Fangrui Song authored
-
QingShan Zhang authored
We have the InstAlias rules for 32-bit rotate but missing the 64-bit one. Rotate left immediate rotlwi ra,rs,n rlwinm ra,rs,n,0,31 Rotate left rotlw ra,rs,rb rlwnm ra,rs,rb,0,31 Differential Revision: https://reviews.llvm.org/D72676
-
Kang Zhang authored
-
Michael Liao authored
-
River Riddle authored
-
Craig Topper authored
It can be turned into a sub with -128 instead as long as the carry flag isn't used.
-
Fangrui Song authored
-
Craig Topper authored
-
Matt Arsenault authored
This wouldn't work for s33-s63 sources.
-
Matt Arsenault authored
-
Matt Arsenault authored
These aren't using any local state
-
Yaxun (Sam) Liu authored
This patch removes the explicit call graph for CUDA/HIP/OpenMP deferred diagnostics generated during parsing since it is error prone due to incomplete information about function declarations during parsing. In stead, this patch does a post-parsing AST traverse and emits deferred diagnostics based on the use graph implicitly generated during the traverse. Differential Revision: https://reviews.llvm.org/D70172
-
Nico Weber authored
The driver version of the flag seems to confuse goma.
-
Zheng Chen authored
On Powerpc, set instruction count as lsr first priority of lsr by default. Add an option ppc-lsr-no-insns-cost to return back to default lsr cost model. Reviewed By: steven.zhang, jsji Differential Revision: https://reviews.llvm.org/D72683
-
Yaxun (Sam) Liu authored
norecurse function attr indicates the function is not called recursively directly or indirectly. Add norecurse to OpenCL functions, SYCL functions in device compilation and CUDA/HIP kernels. Although there is LLVM pass adding norecurse to functions, it only works for whole-program compilation. Also FE adding norecurse can make that pass run faster since functions with norecurse do not need to be checked again. Differential Revision: https://reviews.llvm.org/D73651
-
Craig Topper authored
[X86] Increase latency of port5 masked compares and kshift/kadd/kunpck instructions in SKX scheduler model Uops.info shows these as 4 cycle latency.
-
Craig Topper authored
-
Pierre Habouzit authored
Add fixits for messaging self in MRR or using super, as the intent is clear, and it turns out people do that a lot more than expected. Allow for objc_direct_members on main interfaces, it's extremely useful for internal only classes, and proves to be quite annoying for adoption. Add some better warnings around properties direct/non-direct clashes (it was done for methods but properties were a miss). Add some errors when direct properties are marked @dynamic. Radar-Id: rdar://problem/58355212 Signed-off-by:
Pierre Habouzit <phabouzit@apple.com> Differential Revision: https://reviews.llvm.org/D73755
-
Fangrui Song authored
This allows some simplification.
-
Florian Hahn authored
-
Craig Topper authored
Both of those functions only have a single caller starting at LowerSETCC. Just handle floating point directly in LowerSETCC. This removes the need to pass Chain and IsSignaling all the way down.
-
Craig Topper authored
-
Mark de Wever authored
Revision 9658d895 breaks the clang-x64-windows-msvc build bot [1]. This should fix the unit test using the same method as used in 9658d895. Note I don't have access to a Windows system so the patch is based on the errors generated by the bot. [1] http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/14358 Differential Revision: https://reviews.llvm.org/D74694
-
marshall authored
-
marshall authored
-
LLVM GN Syncbot authored
-
Eric Astor authored
Summary: Many directives are unavailable, and support for others may be limited. This first draft has preliminary support for: - conditional directives (including errors), - data allocation (unsigned types up to 8 bytes, and ALIGN), - equates/variables (numeric and text), - and procedure directives (without parameters), as well as COMMENT, ECHO, INCLUDE, INCLUDELIB, PUBLIC, and EXTERN. Text variables (aka text macros) are expanded in-place wherever the identifier occurs. We deliberately ignore all ml.exe processor directives. Prominent features not yet supported: - structs - macros (both procedures and functions) - procedures (with specified parameters) - substitution & expansion operators Conditional directives are complicated by the fact that "ifdef rax" is a valid way to check if a file is being assembled for a 64-bit x86 processor; we add support for "ifdef <register>" in general, which requires adding a tryParseRegister method to all MCTargetAsmParsers. (Some targets require backtracking in the non-register case.) Reviewers: rnk, thakis Reviewed By: thakis Subscribers: kerbowa, merge_guards_bot, wuzish, arsenm, dschuff, jyknight, dylanmckay, sdardis, nemanjai, jvesely, mgorny, sbc100, jgravelle-google, hiraditya, aheejin, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Jim, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D72680 -
Nikita Popov authored
Don't copy the IRBuilder when an InsertPointGuard would also do.
-
Nikita Popov authored
Fix a few cases where an IRBuilder is passed to a helper function by value, while a by reference pass was intended.
-
Simon Pilgrim authored
-