-
Notifications
You must be signed in to change notification settings - Fork 12.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__unique_stable_name implementation. #16
__unique_stable_name implementation. #16
Commits on May 24, 2019
-
[DeLICM] Use polly::singleton to allow empty result.
isl_map_from_union_map cannot determine the map's space if the union_map is empty. polly::singleton was designed for this case. We pass the expected map space to avoid crashing in isl_map_from_union_map. This fixes an issue found by the aosp buildbot. Thanks to Eli Friedman for the reproducer. llvm-svn: 361290
Configuration menu - View commit details
-
Copy full SHA for 67e9c7e - Browse repository at this point
Copy the full SHA 67e9c7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 264a200 - Browse repository at this point
Copy the full SHA 264a200View commit details -
Configuration menu - View commit details
-
Copy full SHA for c864c59 - Browse repository at this point
Copy the full SHA c864c59View commit details -
Fix register coalescer failure to prune value
Register coalescer fails for the test in the patch with the assertion in JoinVals::ConflictResolution `DefMI != nullptr'. It attempts to join live intervals for two adjacent instructions and erase the copy: %2:vreg_256 = COPY %1 %3:vreg_256 = COPY killed %1 The LI needs to be adjusted to kill subrange for the erased instruction and extend the subrange of the original def. That was done for the main interval only but not for the subrange. As a result subrange had a VNI pointing to the erased slot resulting in the above failure. Differential Revision: https://reviews.llvm.org/D62162 llvm-svn: 361293
Configuration menu - View commit details
-
Copy full SHA for d907dd3 - Browse repository at this point
Copy the full SHA d907dd3View commit details -
[OpenMP][libomptarget] Enable requires flags for target libraries.
Summary: Target link variables are currently implemented by creating a copy of the variables on the device side and unified memory never gets exploited. When the prgram uses the: ``` #pragma omp requires unified_shared_memory ``` directive in conjunction with a declare target link, the linked variable is no longer allocated on the device and the host version is used instead. This behavior is overridden by performing an explicit mapping. A Clang side patch is required. Reviewers: ABataev, AlexEichenberger, grokos, Hahnfeld Reviewed By: AlexEichenberger, grokos, Hahnfeld Subscribers: Hahnfeld, jfb, guansong, jdoerfert, openmp-commits Tags: #openmp Differential Revision: https://reviews.llvm.org/D60223 llvm-svn: 361294
Configuration menu - View commit details
-
Copy full SHA for 97641d3 - Browse repository at this point
Copy the full SHA 97641d3View commit details -
Fix LLDB warnings when compiling with Clang 8.0
Differential Revision: https://reviews.llvm.org/D62021 llvm-svn: 361295
Configuration menu - View commit details
-
Copy full SHA for 79d3226 - Browse repository at this point
Copy the full SHA 79d3226View commit details -
[DebugInfo] Don't emit checksums when compiling a preprocessed CPP
Fixes PR41215 Differential Revision: https://reviews.llvm.org/D60283 llvm-svn: 361296
Configuration menu - View commit details
-
Copy full SHA for 81d6a60 - Browse repository at this point
Copy the full SHA 81d6a60View commit details -
Fix test to put its outputs into the temp directory.
llvm-svn: 361297
Configuration menu - View commit details
-
Copy full SHA for f21bdd9 - Browse repository at this point
Copy the full SHA f21bdd9View commit details -
[OpenMP] Add support for registering requires directives with the run…
…time Summary: This patch adds support for the registration of the requires directives with the runtime. Each requires directive clause will enable a particular flag to be set. The set of flags is passed to the runtime to be checked for compatibility with other such flags coming from other object files. The registration function is called whenever OpenMP is present even if a requires directive is not present. This helps detect cases in which requires directives are used inconsistently. Reviewers: ABataev, AlexEichenberger, caomhin Reviewed By: ABataev, AlexEichenberger Subscribers: jholewinski, guansong, jfb, jdoerfert, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D60568 llvm-svn: 361298
Configuration menu - View commit details
-
Copy full SHA for f32b10b - Browse repository at this point
Copy the full SHA f32b10bView commit details -
[PowerPC][NFC] Add a tests for Reordering CSR reloads in epilogue to …
…follow the same order as CSR saves in the prologue llvm-svn: 361299
Configuration menu - View commit details
-
Copy full SHA for 2e38d71 - Browse repository at this point
Copy the full SHA 2e38d71View commit details -
[c++20] P0780R2: Support pack-expansion of init-captures.
This permits an init-capture to introduce a new pack: template<typename ...T> auto x = [...a = T()] { /* a is a pack */ }; To support this, the mechanism for allowing ParmVarDecls to be packs has been extended to support arbitrary local VarDecls. llvm-svn: 361300
Configuration menu - View commit details
-
Copy full SHA for 0e7d48c - Browse repository at this point
Copy the full SHA 0e7d48cView commit details -
Fix test failures after r361278 on non-Darwin platforms and when
CLANG_DEFAULT_STDLIB is defined to libstdc++. llvm-svn: 361301
Configuration menu - View commit details
-
Copy full SHA for 48bd2b0 - Browse repository at this point
Copy the full SHA 48bd2b0View commit details -
Remove unicode character from test
llvm-svn: 361302
Configuration menu - View commit details
-
Copy full SHA for eb9a7f1 - Browse repository at this point
Copy the full SHA eb9a7f1View commit details -
[NFC][X86][AArch64] Add tests for sinking of add/sub by constant thro…
…ugh add/sub Looks we can transform all 8 variants of the pattern: https://rise4fun.com/Alive/auH This comes up as an issue on the path towards https://bugs.llvm.org/show_bug.cgi?id=41952 llvm-svn: 361303
Configuration menu - View commit details
-
Copy full SHA for 81613fb - Browse repository at this point
Copy the full SHA 81613fbView commit details -
[asan] Replace assignments with internal_memcpy ErrorDescription
For consistency with nearby code and to avoid interceptors during reports. llvm-svn: 361304
Configuration menu - View commit details
-
Copy full SHA for 399eedb - Browse repository at this point
Copy the full SHA 399eedbView commit details -
[asan] clang-format parent patch
llvm-svn: 361305
Configuration menu - View commit details
-
Copy full SHA for 28c8026 - Browse repository at this point
Copy the full SHA 28c8026View commit details -
Move csr-save-restore-order.ll to the right place
llvm-svn: 361306
Configuration menu - View commit details
-
Copy full SHA for 611b9c3 - Browse repository at this point
Copy the full SHA 611b9c3View commit details -
build: enable CMake policy 0077
Enable CMake policy 77. This alters the behavior of option. The old behavior would remove the value of the option from the cache and create a new one. The new behavior does not create the variable if it is defined already. This ensures that subsequent reconfigures will behave identically. This seems better than the setting of OLD - the desire is to ensure that it is set to OLD or NEW. llvm-svn: 361307
Configuration menu - View commit details
-
Copy full SHA for cd91f27 - Browse repository at this point
Copy the full SHA cd91f27View commit details -
[NFC][InstCombine] Add unary FNeg tests to X86/x86-avx512.ll
llvm-svn: 361308
Configuration menu - View commit details
-
Copy full SHA for e237df2 - Browse repository at this point
Copy the full SHA e237df2View commit details -
[OpenMP] Add implementation to two OMPT API routines
This change adds implementation to ompt_finalize_tool() and ompt_get_task_memory(). Patch by Hansang Bae Differential Revision: https://reviews.llvm.org/D61657 llvm-svn: 361309
Configuration menu - View commit details
-
Copy full SHA for 09ae4da - Browse repository at this point
Copy the full SHA 09ae4daView commit details -
[Test] Fix conflicting test names.
Two tests having the same name creates a race condition when moving the trace files. llvm-svn: 361310
Configuration menu - View commit details
-
Copy full SHA for 7afe7d3 - Browse repository at this point
Copy the full SHA 7afe7d3View commit details -
[NFC][InstCombine] Add unary fneg tests to operand-complexity.ll.
llvm-svn: 361311
Configuration menu - View commit details
-
Copy full SHA for c120981 - Browse repository at this point
Copy the full SHA c120981View commit details -
Let -static-pie win if it is specified along with -pie or -static.
Also, disallow specifying -no-pie/-nopie along with -static-pie. Differential Revision: https://reviews.llvm.org/D59841 llvm-svn: 361312
Configuration menu - View commit details
-
Copy full SHA for e228c14 - Browse repository at this point
Copy the full SHA e228c14View commit details -
[libFuzzer] Reduce flakiness of merge-sigusr.test.
Double the number of files to merge, and use wait instead of sleep. llvm-svn: 361313
Configuration menu - View commit details
-
Copy full SHA for 0727a72 - Browse repository at this point
Copy the full SHA 0727a72View commit details -
[Driver] Verify GCCInstallation is valid
Summary: Values returned by GCCInstallation.getParentLibPath() and GCCInstallation.getTriple() are not valid unless GCCInstallation.isValid() returns true. This has previously been ignored, and the former two values were used without checking whether GCCInstallation is valid. This led to the bad path "/../bin" being added to the list of program paths. author: danielmentz "Daniel Mentz <[email protected]>" Reviewers: #clang, tstellar, srhines Reviewed By: srhines Subscribers: danielmentz, ormris, nickdesaulniers, srhines, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D57930 llvm-svn: 361314
Configuration menu - View commit details
-
Copy full SHA for d1cc4b0 - Browse repository at this point
Copy the full SHA d1cc4b0View commit details -
[X86] Add large integer comparison tests for PR41971; NFC
In these cases we would prefer a direct comparison over going through a vector type. llvm-svn: 361315
Configuration menu - View commit details
-
Copy full SHA for 1e4b398 - Browse repository at this point
Copy the full SHA 1e4b398View commit details -
[CommandInterpreter] Fix SkipAppInitFiles setter
The SkipAppInitFiles setter was ignoring its import argument. llvm-svn: 361316
Configuration menu - View commit details
-
Copy full SHA for 92efe99 - Browse repository at this point
Copy the full SHA 92efe99View commit details -
[InstCombine] add more tests for shuffle folding; NFC
As discussed in D62024, we want to limit any potential IR transforms of shuffles to cases where we know the SDAG conversion would result in equivalent patterns for these IR variants. llvm-svn: 361317
Configuration menu - View commit details
-
Copy full SHA for e5fb775 - Browse repository at this point
Copy the full SHA e5fb775View commit details -
[NFC][Thumb2] Autogenerate thumb2-ldr_pre.ll test
llvm-svn: 361318
Configuration menu - View commit details
-
Copy full SHA for 820af59 - Browse repository at this point
Copy the full SHA 820af59View commit details -
[NFC][X86] Autogenerate ragreedy-hoist-spill.ll test
llvm-svn: 361319
Configuration menu - View commit details
-
Copy full SHA for d782bd5 - Browse repository at this point
Copy the full SHA d782bd5View commit details -
[NFC][AMDGPU] Autogenerate llvm.amdgcn.s.barrier.ll test
llvm-svn: 361320
Configuration menu - View commit details
-
Copy full SHA for 19c1818 - Browse repository at this point
Copy the full SHA 19c1818View commit details -
[FileSystem] Fix regression in FileSystem::Resolve
When I moved the resolve code from FileSpec to the FileSystem class, I introduced a regression. If you compare the two implementations, you'll notice that if the path doesn't exist, we should only reverse the effects of makeAbsolute, not the effects of tilde expansion. As a result, the logic to create the ~/.lldb directory broke, because we would resolve the path before creating it. Because the directory didn't exist yet, we'd call create_directories on the unresolved path, which failed. Differential revision: https://reviews.llvm.org/D62219 llvm-svn: 361321
Configuration menu - View commit details
-
Copy full SHA for 324fb4a - Browse repository at this point
Copy the full SHA 324fb4aView commit details -
[ORC] Guarantee unique JITDylib names in lli, add usage notes to crea…
…teJITDylib. JITDylibs should have unique names. This patch adds code to lli to respect this invariant (by refering to the exist JITDylib if a -jd <name> option is specified more than once). It also adds usage notes to the doxygen comment for createJITDylib method in ExecutionSession and LLJIT. http://llvm.org/PR41937 llvm-svn: 361322
Configuration menu - View commit details
-
Copy full SHA for 31cb83e - Browse repository at this point
Copy the full SHA 31cb83eView commit details -
Rename identifiers to spell out analyze; NFC.
llvm-svn: 361325
Configuration menu - View commit details
-
Copy full SHA for dbd4f2e - Browse repository at this point
Copy the full SHA dbd4f2eView commit details -
[libFuzzer] Ignore exit status of wait in merge-sigusr.test.
If process $PID has already exited, wait will give a non-zero exit status. llvm-svn: 361326
Configuration menu - View commit details
-
Copy full SHA for 75f17fe - Browse repository at this point
Copy the full SHA 75f17feView commit details -
[WebAssembly] Add the signature for the new llround builtin function
r360889 added new llround builtin functions. This patch adds their signatures for the WebAssembly backend. It also adds wasm32 support to utils/update_llc_test_checks.py, since that's the script other targets are using for their testcases for this feature. Differential Revision: https://reviews.llvm.org/D62207 llvm-svn: 361327
Configuration menu - View commit details
-
Copy full SHA for f03cdfa - Browse repository at this point
Copy the full SHA f03cdfaView commit details -
Refactor: split Uninitialized state on APValue into an "Absent" state
representing no such object, and an "Indeterminate" state representing an uninitialized object. The latter is not yet used, but soon will be. llvm-svn: 361328
Configuration menu - View commit details
-
Copy full SHA for 71c863f - Browse repository at this point
Copy the full SHA 71c863fView commit details -
[c++20] P1330R0: permit simple-assignments that change the active member
of a union within constant expression evaluation. llvm-svn: 361329
Configuration menu - View commit details
-
Copy full SHA for 83b02d3 - Browse repository at this point
Copy the full SHA 83b02d3View commit details -
AMDGPU: Fix not marking new gfx10 SGPRs as CSRs
llvm-svn: 361330
Configuration menu - View commit details
-
Copy full SHA for a58b022 - Browse repository at this point
Copy the full SHA a58b022View commit details -
AMDGPU: Assume call pseudos are convergent
There should probably be nonconvergent versions, but my guess is it doesn't matter in practice. llvm-svn: 361331
Configuration menu - View commit details
-
Copy full SHA for b74d066 - Browse repository at this point
Copy the full SHA b74d066View commit details -
AMDGPU: Add some tests for inlineasm behavior
llvm-svn: 361332
Configuration menu - View commit details
-
Copy full SHA for f93dd10 - Browse repository at this point
Copy the full SHA f93dd10View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb405e7 - Browse repository at this point
Copy the full SHA fb405e7View commit details -
Fix target property to make BUILD_SHARED_LIBS work
Public and Private link libraries get merged in the LINK_LIBRARIES property instead of being kept separate. With any luck this will get `BUILD_SHARED_LIBS` working again on Linux. llvm-svn: 361334
Configuration menu - View commit details
-
Copy full SHA for 8996170 - Browse repository at this point
Copy the full SHA 8996170View commit details -
[PragmaHandler] Expose
#pragma
locationCurrently, a pragma AST node's recorded location starts at the namespace token (such as `omp` in the case of OpenMP) after the `#pragma` token, and the `#pragma` location isn't available. However, the `#pragma` location can be useful when, for example, rewriting a directive using Clang's Rewrite facility. This patch makes `#pragma` locations available in any `PragmaHandler` but it doesn't yet make use of them. This patch also uses the new `struct PragmaIntroducer` to simplify `Preprocessor::HandlePragmaDirective`. It doesn't do the same for `PPCallbacks::PragmaDirective` because that changes the API documented in `clang-tools-extra/docs/pp-trace.rst`, and I'm not sure about backward compatibility guarantees there. Reviewed By: ABataev, lebedev.ri, aaron.ballman Differential Revision: https://reviews.llvm.org/D61643 llvm-svn: 361335
Configuration menu - View commit details
-
Copy full SHA for eeeed31 - Browse repository at this point
Copy the full SHA eeeed31View commit details -
[libFuzzer] Kill by session ID in merge-sigusr.test.
Ensures that parent and all child processes are killed at once. llvm-svn: 361336
Configuration menu - View commit details
-
Copy full SHA for beba938 - Browse repository at this point
Copy the full SHA beba938View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f870f5 - Browse repository at this point
Copy the full SHA 5f870f5View commit details -
[InstCombine] fold shuffles of insert_subvectors
This should be a valid exception to the general rule of not creating new shuffle masks in IR... because we already do it. :) Also, DAG combining/legalization will undo this by widening the shuffle back out if needed. Explanation for how we already do this: SLP or vector source can create chains of insert/extract as shown in 1 of the examples from PR16739: https://godbolt.org/z/NlK7rA https://bugs.llvm.org/show_bug.cgi?id=16739 And we expect instcombine or DAGCombine to clean that up by creating relatively simple shuffles. Differential Revision: https://reviews.llvm.org/D62024 llvm-svn: 361338
Configuration menu - View commit details
-
Copy full SHA for 34a0b08 - Browse repository at this point
Copy the full SHA 34a0b08View commit details -
[libFuzzer] Sleep after process exits in merge-sigusr.test.
Ensure that log file has been fully updated before trying to read it. llvm-svn: 361339
Configuration menu - View commit details
-
Copy full SHA for be70a0c - Browse repository at this point
Copy the full SHA be70a0cView commit details -
[Analysis] Link library dependencies to Analysis plugins
These are needed to avoid undefined symbols which aren't satisfied by Clang itself. Differential Revision: https://reviews.llvm.org/D62174 llvm-svn: 361340
Configuration menu - View commit details
-
Copy full SHA for ee5efac - Browse repository at this point
Copy the full SHA ee5efacView commit details -
[Docs] fix formatting for bullet list; NFC
llvm-svn: 361341
Configuration menu - View commit details
-
Copy full SHA for 0d0fe70 - Browse repository at this point
Copy the full SHA 0d0fe70View commit details -
[X86] [CET] Deal with return-twice function such as vfork, setjmp when
CET-IBT enabled Return-twice functions will indirectly jump after the caller's position. So when CET-IBT is enable, we should make sure these is endbr* instructions follow these Return-twice function caller. Like GCC does. Patch by Xiang Zhang (xiangzhangllvm) Differential Revision: https://reviews.llvm.org/D61881 llvm-svn: 361342
Configuration menu - View commit details
-
Copy full SHA for effbbba - Browse repository at this point
Copy the full SHA effbbbaView commit details -
[Docs] Increase Doxygen cache size
Summary: When building Doxygen docs for llvm and clang, it helpfully prints a warning at the end noting that the `LOOKUP_CACHE_SIZE` value was too small to keep all symbols in memory. By increasing to the size it recommends, Doxygen builds have greatly improved performance. On my machine, time to run `doxygen-llvm` changes from 34 minutes to 22 minutes, which is a decent amount of time saved by changing a single number. Reviewed By: hintonda Patch by J. Ryan Stinnett! Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D62138 llvm-svn: 361343
Configuration menu - View commit details
-
Copy full SHA for ef1afe0 - Browse repository at this point
Copy the full SHA ef1afe0View commit details -
[clang-tidy] remove default header-filter for run-clang-tidy
Summary: run-clang-tidy.py was enforcing '-header-filter' parameter with an unfortunate default value when none was given. Thus, leading to overwritten clang-tidy configuration (e.g. from .clang-tidy). This change removes the default value for '-header-filter' resulting in the default behaviour of clang-tidy itself. Fixes PR#41426 Reviewed By: hintonda Patch by Torbjörn Klatt! Tags: #clang-tools-extra, #clang Differential Revision: https://reviews.llvm.org/D61747 llvm-svn: 361344
Configuration menu - View commit details
-
Copy full SHA for 986f46a - Browse repository at this point
Copy the full SHA 986f46aView commit details -
[docs] Fix troff macro (.F1 -> .Fl) in ld.lld.1
llvm-svn: 361345
Configuration menu - View commit details
-
Copy full SHA for 890865c - Browse repository at this point
Copy the full SHA 890865cView commit details -
[PowerPC] [ISEL] select x-form instruction for unaligned offset
Differential Revision: https://reviews.llvm.org/D62173 llvm-svn: 361346
Configuration menu - View commit details
-
Copy full SHA for 83206f3 - Browse repository at this point
Copy the full SHA 83206f3View commit details -
[PowerPC] use meaningful name for displacement form aligned with x-fo…
…rm - NFC llvm-svn: 361347
Configuration menu - View commit details
-
Copy full SHA for b879a0b - Browse repository at this point
Copy the full SHA b879a0bView commit details -
Speculative fix for std stream destruction order on Windows.
The MSVC CRT uses TLS storage to implement per-thread locales. This storage gets freed during program termination, and if we attempt to do any io operations (like flushing the std streams) after this occurs the program may abort. This patch is a speculative fix for that issue. The fix tries forcing the initialization of the locale TLS before initializing the std streams. This should mean that the TLS is freed after we destroy the streams. llvm-svn: 361348
Configuration menu - View commit details
-
Copy full SHA for 304d5ba - Browse repository at this point
Copy the full SHA 304d5baView commit details -
[NFC] Remove a blank line (test commit)
llvm-svn: 361349
Configuration menu - View commit details
-
Copy full SHA for b676c26 - Browse repository at this point
Copy the full SHA b676c26View commit details -
Simplify the logic to instantiate Symbols. Should be NFC.
llvm-svn: 361350
Configuration menu - View commit details
-
Copy full SHA for 49f80ff - Browse repository at this point
Copy the full SHA 49f80ffView commit details -
Properly categorize llvm-objdump options
Filters out noise, and distinguish Mach-O related options from others. Differential Revision: https://reviews.llvm.org/D62195 llvm-svn: 361351
Configuration menu - View commit details
-
Copy full SHA for 1ec133e - Browse repository at this point
Copy the full SHA 1ec133eView commit details -
[X86] Don't compare i128 through vector if construction not cheap (PR…
…41971) Fix for https://bugs.llvm.org/show_bug.cgi?id=41971. Make the combineVectorSizedSetCCEquality() transform more conservative by checking that the bitcast to the vector type will be cheap/free for both operands. I'm considering it cheap if it's a constant, a load or already a vector. I've dropped the explicit check for f128 because it should fall out naturally (in the cases where it'd be detrimental). Differential Revision: https://reviews.llvm.org/D62220 llvm-svn: 361352
Configuration menu - View commit details
-
Copy full SHA for 0d0162e - Browse repository at this point
Copy the full SHA 0d0162eView commit details -
Fixed a -Wunused-variable warning when assertions are disabled
llvm-svn: 361353
Configuration menu - View commit details
-
Copy full SHA for 5b817c4 - Browse repository at this point
Copy the full SHA 5b817c4View commit details -
[AArch64] Subtarget crypto extension defaults
The Armv8.2-A crypto extensions all defaulted to true, but should default to false, like all the other extensions. Differential Revision: https://reviews.llvm.org/D62180 llvm-svn: 361354
Configuration menu - View commit details
-
Copy full SHA for 5a3bbed - Browse repository at this point
Copy the full SHA 5a3bbedView commit details -
[PPC64] Parse -elfv1 -elfv2 when specified on target triple
Summary: For big-endian powerpc64, the default ABI is ELFv1. OpenPower ABI ELFv2 is supported when -mabi=elfv2 is specified. FreeBSD support for PowerPC64 ELFv2 ABI with LLVM is in progress[1]. This patch adds an alternative way to specify ELFv2 ABI on target triple [2]. The following results are expected: ELFv1 when using: -target powerpc64-unknown-freebsd12.0 -target powerpc64-unknown-freebsd12.0 -mabi=elfv1 -target powerpc64-unknown-freebsd12.0-elfv1 ELFv2 when using: -target powerpc64-unknown-freebsd12.0 -mabi=elfv2 -target powerpc64-unknown-freebsd12.0-elfv2 [1] https://wiki.freebsd.org/powerpc/llvm-elfv2 [2] https://clang.llvm.org/docs/CrossCompilation.html Patch by Alfredo Dal'Ava Júnior! Differential Revision: https://reviews.llvm.org/D61950 llvm-svn: 361355
Configuration menu - View commit details
-
Copy full SHA for b45c020 - Browse repository at this point
Copy the full SHA b45c020View commit details -
[MIR] Add simple PRE pass to MachineCSE
This is the second part of the commit fixing PR38917 (hoisting partitially redundant machine instruction). Most of PRE (partitial redundancy elimination) and CSE work is done on LLVM IR, but some of redundancy arises during DAG legalization. Machine CSE is not enough to deal with it. This simple PRE implementation works a little bit intricately: it passes before CSE, looking for partitial redundancy and transforming it to fully redundancy, anticipating that the next CSE step will eliminate this created redundancy. If CSE doesn't eliminate this, than created instruction will remain dead and eliminated later by Remove Dead Machine Instructions pass. The third part of the commit is supposed to refactor MachineCSE, to make it more clear and to merge MachinePRE with MachineCSE, so one need no rely on further Remove Dead pass to clear instrs not eliminated by CSE. First step: https://reviews.llvm.org/D54839 Fixes llvm.org/PR38917 llvm-svn: 361356
Configuration menu - View commit details
-
Copy full SHA for 6ac150d - Browse repository at this point
Copy the full SHA 6ac150dView commit details -
[Sanitizer] Add interceptor for wcsdup
Summary: The wide-string equivalent of strdup. Implementation trivial. Reviewers: vitalybuka, eugenis Subscribers: kubamracek, delcypher, llvm-commits, #sanitizers Tags: #llvm, #sanitizers Differential Revision: https://reviews.llvm.org/D62189 llvm-svn: 361357
Configuration menu - View commit details
-
Copy full SHA for ffb0bf0 - Browse repository at this point
Copy the full SHA ffb0bf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 395b99c - Browse repository at this point
Copy the full SHA 395b99cView commit details -
[ELF] Improve error message for relocations to symbols defined in dis…
…carded sections Rather than report "undefined symbol: ", give more informative message about the object file that defines the discarded section. In particular, PR41133, if the section is a discarded COMDAT, print the section group signature and the object file with the prevailing definition. This is useful to track down some ODR issues. We need to * add `uint32_t DiscardedSecIdx` to Undefined for this feature. * make ComdatGroups public and change its type to DenseMap<CachedHashStringRef, const InputFile *> Reviewed By: ruiu Differential Revision: https://reviews.llvm.org/D59649 llvm-svn: 361359
Configuration menu - View commit details
-
Copy full SHA for 027ddd1 - Browse repository at this point
Copy the full SHA 027ddd1View commit details -
DWARF: Introduce DWARFTypeUnit class
Summary: This patch introduces the DWARFTypeUnit class, and teaches lldb to parse type units out of both the debug_types section (DWARF v4), and from the regular debug_info section (DWARF v5). The most important piece of functionality - resolving DW_AT_signatures to connect type forward declarations to their definitions - is not implemented here, but even without that, a lot of functionality becomes available. I've added tests for the commands that start to work after this patch. The changes in this patch were greatly inspired by D61505, which in turn took over changes from D32167. Reviewers: JDevlieghere, clayborg, aprantl Subscribers: mgorny, jankratochvil, lldb-commits Differential Revision: https://reviews.llvm.org/D62008 llvm-svn: 361360
Configuration menu - View commit details
-
Copy full SHA for 0f8186a - Browse repository at this point
Copy the full SHA 0f8186aView commit details -
DWARFDebugInfoEntry: remove unused variable
llvm-svn: 361361
Configuration menu - View commit details
-
Copy full SHA for df8734b - Browse repository at this point
Copy the full SHA df8734bView commit details -
Summary: Log the AST of the TU associated with LLDB's `expr` command, once a declaration is completed Reviewers: shafik Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D62061 llvm-svn: 361362
Configuration menu - View commit details
-
Copy full SHA for e3b9bb7 - Browse repository at this point
Copy the full SHA e3b9bb7View commit details -
[PPC64] Fix PPC64TargetInfo after D61950
llvm-svn: 361363
Configuration menu - View commit details
-
Copy full SHA for 77993c6 - Browse repository at this point
Copy the full SHA 77993c6View commit details -
Copy symbol length when we replace a symbol.
Symbol's NameSize is computed lazily. Currently, when we replace a symbol, a cached length value can be discarded. This patch propagates that value. Differential Revision: https://reviews.llvm.org/D62234 llvm-svn: 361364
Configuration menu - View commit details
-
Copy full SHA for 58af636 - Browse repository at this point
Copy the full SHA 58af636View commit details -
[PPC64] Fix PPC64TargetInfo ABI on clang side after D61950
llvm-svn: 361365
Configuration menu - View commit details
-
Copy full SHA for 9bb1242 - Browse repository at this point
Copy the full SHA 9bb1242View commit details -
Re-land r361257 "[MergeICmps][NFC] Make BCEAtom move-only.""
llvm-svn: 361366
Configuration menu - View commit details
-
Copy full SHA for 7a08105 - Browse repository at this point
Copy the full SHA 7a08105View commit details -
[llvm-dlltool] Respect NONAME keyword
This adds proper handling of the NONAME-keyword, which makes llvm-dlltool generate an import using the ordinal instead of the name. Patch by by Jannik Vogel, test added by Stefan Schmidt. Differential Revision: https://reviews.llvm.org/D62175 llvm-svn: 361367
Configuration menu - View commit details
-
Copy full SHA for b3d0510 - Browse repository at this point
Copy the full SHA b3d0510View commit details -
[Driver][Windows] Add dependent lib argument for -fprofile-generate a…
…nd -fcs-profile-generate Follows on from r360674 which added it for -fprofile-instr-generate. Differential Revision: https://reviews.llvm.org/D62200 llvm-svn: 361368
Configuration menu - View commit details
-
Copy full SHA for 35a0e64 - Browse repository at this point
Copy the full SHA 35a0e64View commit details -
[TargetMachine] error message unsupported code model
When the tiny code model is requested for a target machine that does not support this, we get an error message (which is nice) but also this diagnostic and request to submit a bug report: fatal error: error in backend: Target does not support the tiny CodeModel [Inferior 2 (process 31509) exited with code 0106] clang-9: error: clang frontend command failed with exit code 70 (use -v to see invocation) (gdb) clang version 9.0.0 (http://llvm.org/git/clang.git 29994b0c63a40f9c97c664170244a7bba5ecc15e) (http://llvm.org/git/llvm.git 95606fdf91c2d63a931e865f4b78b2e9828ddc74) Target: arm-arm-none-eabi Thread model: posix clang-9: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. clang-9: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-9: note: diagnostic msg: /tmp/tiny-dfe1a2.c clang-9: note: diagnostic msg: /tmp/tiny-dfe1a2.sh clang-9: note: diagnostic msg: But this is not a bug, this is a feature. :-) Not only is this not a bug, this is also pretty confusing. This patch causes just to print the fatal error and not the diagnostic: fatal error: error in backend: Target does not support the tiny CodeModel Differential Revision: https://reviews.llvm.org/D62236 llvm-svn: 361370
Configuration menu - View commit details
-
Copy full SHA for a6144e4 - Browse repository at this point
Copy the full SHA a6144e4View commit details -
[VirtualFileSystem] Fix uninitialized variable warning. NFCI.
llvm-svn: 361371
Configuration menu - View commit details
-
Copy full SHA for caaa189 - Browse repository at this point
Copy the full SHA caaa189View commit details -
[ARM][AArch64] Fix incorrect handling of alignment in va_arg code gen…
…eration Overaligned and underaligned types (i.e. types where the alignment has been increased or decreased using the aligned and packed attributes) weren't being correctly handled in all cases, as the unadjusted alignment should be used. This patch also adjusts getTypeUnadjustedAlign to correctly handle typedefs of non-aggregate types, which it appears it never had to handle before. Differential Revision: https://reviews.llvm.org/D62152 llvm-svn: 361372
Configuration menu - View commit details
-
Copy full SHA for 885db16 - Browse repository at this point
Copy the full SHA 885db16View commit details -
DWARF: Add debug_ranges/rnglists tests
.debug_ranges parsing is not well tested [citation needed] because this section tends to be only used in optimized code, and we don't build optimized executables in our tests, as they produce unpredictable results. This patch aims to add some very simple tests for parsing static range data, which can serve as a first line of defense in case things break. I also include one XFAILed test, which demonstrates that we don't correctly handle mixed DWARF v5 and v4 ranges in a single file. llvm-svn: 361373
Configuration menu - View commit details
-
Copy full SHA for 9c06401 - Browse repository at this point
Copy the full SHA 9c06401View commit details -
Mark tests from r361278 as unsupported on Windows.
llvm-svn: 361374
Configuration menu - View commit details
-
Copy full SHA for 9534d92 - Browse repository at this point
Copy the full SHA 9534d92View commit details -
[Hexagon] assert getRegisterBitWidth returns non-zero value. NFCI.
Fixes scan-build warning. llvm-svn: 361375
Configuration menu - View commit details
-
Copy full SHA for 7b4adc0 - Browse repository at this point
Copy the full SHA 7b4adc0View commit details -
[Frontend] Return an error on bad inputs to PrecompiledPreabmle
Summary: Instead of failing with assertions. Fixes a crash found by oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12865 Reviewers: sammccall Reviewed By: sammccall Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62137 llvm-svn: 361376
Configuration menu - View commit details
-
Copy full SHA for aa3d779 - Browse repository at this point
Copy the full SHA aa3d779View commit details -
Revert r361148 "[Syntax] Introduce TokenBuffer, start clangToolingSyn…
…tax library" Also reverted r361264 "[Syntax] Rename TokensTest to SyntaxTests. NFC" which built on it. This is because there were hitting an assert on bots http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast llvm-svn: 361377
Configuration menu - View commit details
-
Copy full SHA for 36b38bf - Browse repository at this point
Copy the full SHA 36b38bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c08b7a - Browse repository at this point
Copy the full SHA 3c08b7aView commit details -
[CGOpenMPRuntime] emitX86DeclareSimdFunction - assert simdlen/cdtsize…
… is not zero. NFCI. Fixes scan-build division by zero warning. llvm-svn: 361379
Configuration menu - View commit details
-
Copy full SHA for 712283b - Browse repository at this point
Copy the full SHA 712283bView commit details -
[NFC][SystemZ] Autogenerate alloca-03.ll test to make test changes mo…
…re visible The check lines are being affected by an upcoming patch, regenerate the checklines to visualize the changes better. llvm-svn: 361380
Configuration menu - View commit details
-
Copy full SHA for d5eb797 - Browse repository at this point
Copy the full SHA d5eb797View commit details -
UpdateTestChecks: sparc march handling
Summary: Another target that prefers to use `-march` in tests ``` llvm/test/CodeGen/SPARC$ grep -ri mtriple | wc -l 25 llvm/test/CodeGen/SPARC$ grep -ri march | wc -l 165 ``` This test is being affected by a further patch, so regenerate it to better visualize the changes Reviewers: RKSimon, dcederman, gberry Reviewed By: RKSimon Subscribers: jyknight, fedor.sergeev, jrtc27, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D62242 llvm-svn: 361381
Configuration menu - View commit details
-
Copy full SHA for 0b8f36f - Browse repository at this point
Copy the full SHA 0b8f36fView commit details -
[OpenCL] Support pipe keyword in C++ mode
Support the OpenCL C pipe feature in C++ for OpenCL mode, to preserve backwards compatibility with OpenCL C. Various changes had to be made in Parse and Sema to enable pipe-specific diagnostics, so enable a SemaOpenCL test for C++. Differential Revision: https://reviews.llvm.org/D62181 llvm-svn: 361382
Configuration menu - View commit details
-
Copy full SHA for 7e04dca - Browse repository at this point
Copy the full SHA 7e04dcaView commit details -
Added a dot at the end of comment
Summary: to test SVN commit access with a simple change. Reviewers: jankratochvil Subscribers: mgorny, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D62243 llvm-svn: 361383
Configuration menu - View commit details
-
Copy full SHA for 03548dd - Browse repository at this point
Copy the full SHA 03548ddView commit details -
[llvm-objcopy] Tidy up error messages
This patch brings various error messages into line with each other, by removing trailing full stops, and making the first letter lower-case. This addresses https://bugs.llvm.org/show_bug.cgi?id=40859. Reviewed by: jhenderson, rupprecht, jakehehrlich Differential Revision: https://reviews.llvm.org/D62072 Patch by Alex Brachet llvm-svn: 361384
Configuration menu - View commit details
-
Copy full SHA for d0de44b - Browse repository at this point
Copy the full SHA d0de44bView commit details -
[llvm-exegesis] Move native target initialization code to a separate …
…file. Summary: This helps building internal tools on top of the library. Reviewers: gchatelet Subscribers: tschuett, llvm-commits, bdb, ondrasej Tags: #llvm Differential Revision: https://reviews.llvm.org/D62239 llvm-svn: 361385
Configuration menu - View commit details
-
Copy full SHA for ea7c3c2 - Browse repository at this point
Copy the full SHA ea7c3c2View commit details -
[AMDGPU][MC] Corrected parsing of op_sel* and neg_* modifiers
See bug 41361: https://bugs.llvm.org/show_bug.cgi?id=41361 Reviewers: artem.tamazov, arsenm Differential Revision: https://reviews.llvm.org/D61012 llvm-svn: 361386
Configuration menu - View commit details
-
Copy full SHA for 005517a - Browse repository at this point
Copy the full SHA 005517aView commit details -
LoopVectorizationCostModel::selectInterleaveCount - assert we have a …
…non-zero loop cost. NFCI. The input LoopCost value can be zero, but if so it should be recalculated with the current VF. After that it should always be non-zero. llvm-svn: 361387
Configuration menu - View commit details
-
Copy full SHA for 327eab7 - Browse repository at this point
Copy the full SHA 327eab7View commit details -
[clangd] improve help message for limit-results
Summary: Make it clear that the default is 100. Patch by Brennan Vincent(@umanwizard)! Reviewers: #clang-tools-extra, kadircet Reviewed By: kadircet Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61865 llvm-svn: 361388
Configuration menu - View commit details
-
Copy full SHA for 6d13d6c - Browse repository at this point
Copy the full SHA 6d13d6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 996035a - Browse repository at this point
Copy the full SHA 996035aView commit details -
[NFC][X86][AArch64] Rewrite sink-addsub-of-const.ll tests to have ful…
…l permutation coverage Somehow missed some patterns initially.. While there, add comments. llvm-svn: 361390
Configuration menu - View commit details
-
Copy full SHA for 7b4c527 - Browse repository at this point
Copy the full SHA 7b4c527View commit details -
Reland r361148 with a fix to the buildbot failure.
Reverted in r361377. Also reland the '.gn' files (reverted in r361389). llvm-svn: 361391
Configuration menu - View commit details
-
Copy full SHA for 61d4d2f - Browse repository at this point
Copy the full SHA 61d4d2fView commit details -
[LibTooling] Update Transformer to use RangeSelector instead of NodeP…
…art enum. Transformer provides an enum to indicate the range of source text to be edited. That support is now redundant with the new (and more general) RangeSelector library, so we remove the custom enum support in favor of supporting any RangeSelector. Reviewers: ilya-biryukov Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62149 llvm-svn: 361392
Configuration menu - View commit details
-
Copy full SHA for 99bc13e - Browse repository at this point
Copy the full SHA 99bc13eView commit details -
[mips] Replace multiple
-check-prefix
by single-check-prefixes
. NFCllvm-svn: 361393
Configuration menu - View commit details
-
Copy full SHA for fc734fc - Browse repository at this point
Copy the full SHA fc734fcView commit details -
[mips] Use GNU-style output to make tests smaller. NFC
llvm-svn: 361394
Configuration menu - View commit details
-
Copy full SHA for 6f01fc5 - Browse repository at this point
Copy the full SHA 6f01fc5View commit details -
[llvm-objdump] Dump inline relocations if the relocated section is sp…
…ecified with --section This fixes PR41886: llvm-objdump -d -r -j .text doesn't show inline relocations of .text While here, switch to stable_sort() because we don't want to change the order of relocations applied to the same location. gABI says consecutive relocation records are composed together and their order matters. In practise it is difficult to see relocations applied to the same location not consecutive, we just have to keep the relative order of relocations with the same offset. Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D62253 llvm-svn: 361395
Configuration menu - View commit details
-
Copy full SHA for f4cdd66 - Browse repository at this point
Copy the full SHA f4cdd66View commit details -
[NFC][X86] Autogenerate negative-offset.ll test
Being affected by upcoming patch llvm-svn: 361396
Configuration menu - View commit details
-
Copy full SHA for e600d29 - Browse repository at this point
Copy the full SHA e600d29View commit details -
[NFC][ARM] Autogenerate addsubcarry-promotion.ll test
Being affected by upcoming patch llvm-svn: 361397
Configuration menu - View commit details
-
Copy full SHA for 1ab18ae - Browse repository at this point
Copy the full SHA 1ab18aeView commit details -
[NFC][ARM] addsubcarry-promotion.ll: whoops - replace '.' with '-' in…
… check-prefix Does not affect update_llc_test_checks, or the actual output, but is not accepted by the actual FileCheck. Sorry, i should have noticed this before committing, not the very next second after.. llvm-svn: 361398
Configuration menu - View commit details
-
Copy full SHA for d533d7b - Browse repository at this point
Copy the full SHA d533d7bView commit details -
Unbreak non-PIC builds after r361340/D62174
llvm-svn: 361399
Configuration menu - View commit details
-
Copy full SHA for 6c72ddb - Browse repository at this point
Copy the full SHA 6c72ddbView commit details -
Combine two if cases because the second one is never reached.
Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62214 llvm-svn: 361400
Configuration menu - View commit details
-
Copy full SHA for bf4eae5 - Browse repository at this point
Copy the full SHA bf4eae5View commit details -
[IR] allow fast-math-flags on select of FP values
This is a minimal start to correcting a problem most directly discussed in PR38086: https://bugs.llvm.org/show_bug.cgi?id=38086 We have been hacking around a limitation for FP select patterns by using the fast-math-flags on the condition of the select rather than the select itself. This patch just allows FMF to appear with the 'select' opcode. No changes are needed to "FPMathOperator" because it already includes select-of-FP because that definition is based on the (return) value type. Once we have this ability, we can start correcting and adding IR transforms to use the FMF on a 'select' instruction. The instcombine and vectorizer test diffs only show that the IRBuilder change is behaving as expected by applying an FMF guard value to 'select'. For reference: rL241901 - allowed FMF with fcmp rL255555 - allowed FMF with FP calls Differential Revision: https://reviews.llvm.org/D61917 llvm-svn: 361401
Configuration menu - View commit details
-
Copy full SHA for e09145d - Browse repository at this point
Copy the full SHA e09145dView commit details -
llvm-undname: Fix an assert-on-invalid, found by oss-fuzz
If a template parameter refers to a pointer to member, but the mangling of that was a string literal instead of a real symbol, llvm-undname used to crash instead of rejecting the input. llvm-svn: 361402
Configuration menu - View commit details
-
Copy full SHA for d7e9022 - Browse repository at this point
Copy the full SHA d7e9022View commit details -
[TargetLowering] Add blank line (test commit)
llvm-svn: 361403
Configuration menu - View commit details
-
Copy full SHA for 4fc3bc0 - Browse repository at this point
Copy the full SHA 4fc3bc0View commit details -
[TargetLowering] Extend bool args to inline-asm according to getBoole…
…anType Summary: This extends Krzysztof Parzyszek's X86-specific solution (https://reviews.llvm.org/D60208) to the generic code pointed out by James Y Knight. Reviewers: kparzysz, craig.topper, nickdesaulniers Subscribers: efriedma, sdardis, nemanjai, javed.absar, eraman, fedor.sergeev, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, llvm-commits, srhines, void, nickdesaulniers, jyknight Tags: #llvm Differential Revision: https://reviews.llvm.org/D60224 llvm-svn: 361404
Configuration menu - View commit details
-
Copy full SHA for 99c5eb2 - Browse repository at this point
Copy the full SHA 99c5eb2View commit details -
MC: Allow getMaxInstLength to depend on the subtarget
Keep it optional in cases this is ever needed in some global context. Currently it's only used for getting an upper bound inline asm code size. For AMDGPU, gfx10 increases the maximum instruction size to 20-bytes. This avoids penalizing older subtargets when estimating code size, and making some annoying branch relaxation test adjustments. llvm-svn: 361405
Configuration menu - View commit details
-
Copy full SHA for 1acee7b - Browse repository at this point
Copy the full SHA 1acee7bView commit details -
AMDGPU: Move disassembler support check to constructor
Don't check for unsupported targets for every instruction. llvm-svn: 361406
Configuration menu - View commit details
-
Copy full SHA for f393583 - Browse repository at this point
Copy the full SHA f393583View commit details -
[libFuzzer] Ignore synthetic exceptions on Fuchsia
Fuchsia has several exceptions which are merely informational and should not be treated as crashes. This patch puts logic that read from the exception port and handled the exception in a loop, and ignores non-exceptions and informational exceptions. Patch By: aarongreen Differential Revision: https://reviews.llvm.org/D62226 llvm-svn: 361407
Configuration menu - View commit details
-
Copy full SHA for a88dd3e - Browse repository at this point
Copy the full SHA a88dd3eView commit details -
Fixed third issue reported in https://bugs.llvm.org/show_bug.cgi?id=4…
…1584. Removed wrong debug assertion. Differential Revision: https://reviews.llvm.org/D62251 llvm-svn: 361408
Configuration menu - View commit details
-
Copy full SHA for 54264cc - Browse repository at this point
Copy the full SHA 54264ccView commit details -
[NFC][X86][AArch64] Add tests for missing (x - y) + -1 -> not(y) + x …
…fold https://rise4fun.com/Alive/OaY llvm-svn: 361409
Configuration menu - View commit details
-
Copy full SHA for e11a570 - Browse repository at this point
Copy the full SHA e11a570View commit details -
Disable EHFrameSupport in JITLink/RuntimeDyld on AIX
Summary: EH Frames aren't supported on AIX with the system compiler, but the definition of HAVE_EHTABLE_SUPPORT misses this which causes linking problems on AIX. This patch updates the definition of HAVE_EHTABLE_SUPPORT in both JITLink and RuntimeDyld. Author: daltenty Reviewers: sfertile, xingxue, hubert.reinterpretcase Reviewed By: xingxue Subscribers: hiraditya, jsji, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D62203 llvm-svn: 361410
Configuration menu - View commit details
-
Copy full SHA for df7af04 - Browse repository at this point
Copy the full SHA df7af04View commit details -
Fixed a -Wunused-variable warning when assertions are disabled
llvm-svn: 361411
Configuration menu - View commit details
-
Copy full SHA for 25fa2e6 - Browse repository at this point
Copy the full SHA 25fa2e6View commit details -
[EditLine] Rewrite GetHistoryFilePath
Rewrite the GetHistoryFilePath implementation without relying on FileSpec in the spirit of our discussion in D61994. It changes LLDBs behavior in two ways: 1. We now only use the -widehistory suffix when LLDB is built with wchar support, instead of as the fallback from when the ~/.lldb directory isn't writable. 2. When the ~/.lldb directory isn't writable, we don't write any history files at all. Previously we would write them to the user's home directory (with the incorrect wide suffix), polluting ~ with a different file for every IO handler. Differential revision: https://reviews.llvm.org/D62216 llvm-svn: 361412
Configuration menu - View commit details
-
Copy full SHA for 5f27f3c - Browse repository at this point
Copy the full SHA 5f27f3cView commit details -
[LibTooling] Update Stencil to use RangeSelector
Add support for creating a `StencilPart` from any `RangeSelector`, which broadens the scope of `Stencil`. Correspondingly, deprecate Stencil's specialized combinators `node` and `sNode` in favor of using the new `selection` combinator directly (with the appropriate range selector). Reviewers: sbenza Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62160 llvm-svn: 361413
Configuration menu - View commit details
-
Copy full SHA for 0454b95 - Browse repository at this point
Copy the full SHA 0454b95View commit details -
[libcxx][test] Fix order checking in some more unordered_multimap tests
Some tests assume that iteration through an unordered multimap elements will return them in the same order as at the container creation. This assumption is not true since the container is unordered, so that no specific order of elements is ever guaranteed for such container. This patch is a continuation of D54838 and introduces checks verifying that any iteration will return elements exactly from a set of valid values and without repetition, but in no particular order. Thanks to Andrey Maksimov for the patch. Differential Revision: https://reviews.llvm.org/D56498 llvm-svn: 361414
Configuration menu - View commit details
-
Copy full SHA for a2a4daa - Browse repository at this point
Copy the full SHA a2a4daaView commit details -
[NFC][InstCombine] Add unary fneg tests to maxnum.ll/minnum.ll
llvm-svn: 361415
Configuration menu - View commit details
-
Copy full SHA for 9da7303 - Browse repository at this point
Copy the full SHA 9da7303View commit details -
[PGO][CHR] Speed up following long use-def chains.
Summary: Avoid visiting an instruction more than once by using a map. Reviewers: davidxl Reviewed By: davidxl Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D62262 llvm-svn: 361416
Configuration menu - View commit details
-
Copy full SHA for 1827e09 - Browse repository at this point
Copy the full SHA 1827e09View commit details -
[DebugInfo][AArch64] Recognise target specific instruction as mov instr
This fix is for the problem from https://bugs.llvm.org/show_bug.cgi?id=38714. Specifically, Simple Register Coalescing creates following conversion : undef %0.sub_32:gpr64 = ORRWrs $wzr, %3:gpr32common, 0, debug-location !24; It copies 32-bit value from gpr32 into gpr64. But Live DEBUG_VALUE analysis is not able to create debug location record for that instruction. So the problem is in that debug info for argc variable is incorrect. The fix is to write custom isCopyInstrImpl() which would recognize the ORRWrs instr. llvm-svn: 361417
Configuration menu - View commit details
-
Copy full SHA for 2386333 - Browse repository at this point
Copy the full SHA 2386333View commit details -
[clang-tidy] Add support for writing a check as a Transformer rewrite…
… rule. This revision introduces an adaptor from Transformer's rewrite rules (`clang::tooling::RewriteRule`) to `ClangTidyCheck`. For example, given a RewriteRule `MyCheckAsRewriteRule`, it lets one define a tidy check as follows: ``` class MyTidyCheck : public TransformerClangTidyCheck { public: MyTidyCheck(StringRef Name, ClangTidyContext *Context) : TransformerClangTidyCheck(MyCheckAsRewriteRule, Name, Context) {} }; ``` Reviewers: aaron.ballman Subscribers: mgorny, xazax.hun, cfe-commits, ilya-biryukov Tags: #clang Differential Revision: https://reviews.llvm.org/D61386 llvm-svn: 361418
Configuration menu - View commit details
-
Copy full SHA for e1c225a - Browse repository at this point
Copy the full SHA e1c225aView commit details -
gn build: Fix check-clangd target after r359825
llvm-svn: 361419
Configuration menu - View commit details
-
Copy full SHA for 964e550 - Browse repository at this point
Copy the full SHA 964e550View commit details -
Add DWARFTypeUnit to the Xcode project.
llvm-svn: 361420
Configuration menu - View commit details
-
Copy full SHA for 831d569 - Browse repository at this point
Copy the full SHA 831d569View commit details -
[OPENMP][NVPTX]Fix barriers and parallel level counters, NFC.
Summary: Parallel level counter should be volatile to prevent some dangerous optimiations by the ptxas. Otherwise, ptxas optimizations lead to undefined behaviour in some cases. Also, use __threadfence() for #pragma omp flush and if the barrier should not be used (we have only one thread in the team), still perform flush operation since the standard requires implicit flush when executing barriers. Reviewers: gtbercea, kkwli0, grokos Subscribers: guansong, jfb, jdoerfert, openmp-commits, caomhin Tags: #openmp Differential Revision: https://reviews.llvm.org/D62199 llvm-svn: 361421
Configuration menu - View commit details
-
Copy full SHA for a9dbfdc - Browse repository at this point
Copy the full SHA a9dbfdcView commit details -
[X86] Add more icelake model numbers to getHostCPUName.
Using model numbers found in Table 2-1 of the May 2019 version of the Intel Software Developer's Manual Volume 4. llvm-svn: 361422
Configuration menu - View commit details
-
Copy full SHA for dfbebd0 - Browse repository at this point
Copy the full SHA dfbebd0View commit details -
[X86] Add more icelake model numbers to compiler-rt implementation of…
… __builtin_cpu_is. Using model numbers found in Table 2-1 of the May 2019 version of the Intel Software Developer's Manual Volume 4. llvm-svn: 361423
Configuration menu - View commit details
-
Copy full SHA for a68ec21 - Browse repository at this point
Copy the full SHA a68ec21View commit details -
Part of P1091R3: permit structured bindings to be declared 'static' and
'thread_local' in C++20. llvm-svn: 361424
Configuration menu - View commit details
-
Copy full SHA for 7de97a8 - Browse repository at this point
Copy the full SHA 7de97a8View commit details -
[X86][InstCombine] Remove InstCombine code that turns X86 round intri…
…nsics into llvm.ceil/floor. Remove some isel patterns that existed because that was happening. We were turning roundss/sd/ps/pd intrinsics with immediates of 1 or 2 into llvm.floor/ceil. The llvm.ceil/floor intrinsics are supposed to correspond to the libm functions. For the libm functions we need to disable the precision exception so the llvm.floor/ceil functions should always map to encodings 0x9 and 0xA. We had a mix of isel patterns where some used 0x9 and 0xA and others used 0x1 and 0x2. We need to be consistent and always use 0x9 and 0xA. Since we have no way in isel of knowing where the llvm.ceil/floor came from, we can't map X86 specific intrinsics with encodings 1 or 2 to it. We could map 0x9 and 0xA to llvm.ceil/floor instead, but I'd really like to see a use case and optimization advantage first. I've left the backend test cases to show the blend we now emit without the extra isel patterns. But I've removed the InstCombine tests completely. llvm-svn: 361425
Configuration menu - View commit details
-
Copy full SHA for b0c79d0 - Browse repository at this point
Copy the full SHA b0c79d0View commit details -
Re-land r361206 "[COFF] Store alignment in log2 form, NFC"
The previous patch lost the call to PowerOf2Ceil, which causes LLD to crash when handling common symbols with a non-power-of-2 size. I tweaked the existing common.test to make the bsspad16 common symbol be 15 bytes to add coverage for this case. llvm-svn: 361426
Configuration menu - View commit details
-
Copy full SHA for f09d813 - Browse repository at this point
Copy the full SHA f09d813View commit details -
[asan] Fix debug asan build link error
Reviewers: dmajor, vitalybuka, waltl Subscribers: kubamracek, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D61871 llvm-svn: 361427
Configuration menu - View commit details
-
Copy full SHA for 695d85a - Browse repository at this point
Copy the full SHA 695d85aView commit details -
Modules: Code generation of enum constants for merged enum definitions
Found in a bootstrap of LLVM with implicit modules, resulting in a deadlock of some Orc unit tests with libstdc++ 8.1. An enum was used as part of the implementation of std::recursive_mutex and this bug resulted in the constant initialization of zero instead of the desired non-zero value. => Badness. Richard Smith tells me neither of these fields are necessarily canonical & so using declaresSamEntity is the right solution here (rather than changing both of these Fields to be canonical by construction/from their source) llvm-svn: 361428
Configuration menu - View commit details
-
Copy full SHA for ecf8b87 - Browse repository at this point
Copy the full SHA ecf8b87View commit details -
Add back --sysroot support for darwin header search.
Before e97b5f5 ([clang][Darwin] Refactor header search path logic into the driver), both --sysroot and -isysroot worked to specify where to look for system and C++ headers on Darwin. However, that change caused clang to start ignoring --sysroot. This fixes the regression, and adds tests. (I also note that on all other platforms, clang seems to almost completely ignore -isysroot, but that's another issue...) Differential Revision: https://reviews.llvm.org/D62268 llvm-svn: 361429
Configuration menu - View commit details
-
Copy full SHA for de1951d - Browse repository at this point
Copy the full SHA de1951dView commit details -
Reverted r361134 because of a failing test left unattended for a long…
… time. http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/17792/steps/test-check-all/logs/stdio Failing Tests (1): LLVM :: CodeGen/AMDGPU/regbank-reassign.mir llvm-svn: 361430
Configuration menu - View commit details
-
Copy full SHA for a653195 - Browse repository at this point
Copy the full SHA a653195View commit details -
[X86] Explcitly disable VEXTRACT instruction matching for an immediat…
…e of 0. Remove a bunch of isel patterns that become unnecessary. We effectively had a second set of isel patterns that tried to use a regular store instruction and an extract_subreg instruction. Or a masked move and an extract_subreg. These patterns were intended to override the matching of VEXTRACT instructions by taking advantage of the priority of the explicit immediate 0 for the index. This patch instaed just disables the immediate 0 matchin the VEXTRACT patterns. This each of the component pieces of the larger patterns will match by themselves. This found a bug of sorts were we didn't use 128-bit store for 512->128 extract on KNL. Its unclear what the right thing here should be. Using the vextract avoids constraining the register allocator to use xmm0-15. But it always results in a longer encoding if the register allocator ends up choosing xmm0-15 anyway. llvm-svn: 361431
Configuration menu - View commit details
-
Copy full SHA for 34e727f - Browse repository at this point
Copy the full SHA 34e727fView commit details -
[runtimes] Move libunwind, libc++abi and libc++ to lib/$target/c++ an…
…d include/c++ This change is a consequence of the discussion in "RFC: Place libs in Clang-dedicated directories", specifically the suggestion that libunwind, libc++abi and libc++ shouldn't be using Clang resource directory. Tools like clangd make this assumption, but this is currently not true for the LLVM_ENABLE_PER_TARGET_RUNTIME_DIR build. This change addresses that by moving the output of these libraries to lib/$target/c++ and include/c++ directories, leaving resource directory only for compiler-rt runtimes and Clang builtin headers. Differential Revision: https://reviews.llvm.org/D59168 llvm-svn: 361432
Configuration menu - View commit details
-
Copy full SHA for 23b95ce - Browse repository at this point
Copy the full SHA 23b95ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52d0dbb - Browse repository at this point
Copy the full SHA 52d0dbbView commit details -
TableGen: Handle nontrivial foreach range bounds
This allows using anything that isn't a literal integer as the bounds for a foreach. Some of the diagnostics aren't perfect, but nobody ever accused tablegen of having good errors. For example, the existing wording suggests a bitrange is valid, but as far as I can tell this has never worked. Fixes bug 41958. llvm-svn: 361434
Configuration menu - View commit details
-
Copy full SHA for 49790fc - Browse repository at this point
Copy the full SHA 49790fcView commit details -
Add a HowToUseLLJIT example project.
A very minimal demo of how to use the LLJIT class, along the lines of the old HowToUseJIT example. llvm-svn: 361435
Configuration menu - View commit details
-
Copy full SHA for 6339314 - Browse repository at this point
Copy the full SHA 6339314View commit details -
[Runtimes] If LLVM_INCLUDE_TESTS=On depend on gtest
Summary: If we are building the tests for the runtimes we should make them depend on gtest so that gtest is built and ready before we run any of the check-* targets. Reviewers: phosek, compnerd Reviewed By: compnerd Subscribers: mgorny, winksaville, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D62269 llvm-svn: 361436
Configuration menu - View commit details
-
Copy full SHA for 3ac4f40 - Browse repository at this point
Copy the full SHA 3ac4f40View commit details -
Configuration menu - View commit details
-
Copy full SHA for a318200 - Browse repository at this point
Copy the full SHA a318200View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57b53af - Browse repository at this point
Copy the full SHA 57b53afView commit details -
Fix r361428 for Windows buildbots/mangling
llvm-svn: 361439
Configuration menu - View commit details
-
Copy full SHA for 67886c1 - Browse repository at this point
Copy the full SHA 67886c1View commit details -
Actaully lock accesses to OptionValueFileSpecList objects
The patch in r359029 missed a few accessors and mutators. This patch also changes the lock to a recursive one as OptionValueFileSpecList::Clear() can be invoked from some of the other methods. llvm-svn: 361440
Configuration menu - View commit details
-
Copy full SHA for 24c2ec8 - Browse repository at this point
Copy the full SHA 24c2ec8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5cdc9a - Browse repository at this point
Copy the full SHA e5cdc9aView commit details -
[Target] Protect Processes' language runtimes map with a mutex
Summary: From what I understand, it's possible for multiple threads to request a specific language runtime (e.g. CPPLanguageRuntime). This leads to a data race. Reviewers: jingham, JDevlieghere, compnerd, clayborg Differential Revision: https://reviews.llvm.org/D62169 llvm-svn: 361442
Configuration menu - View commit details
-
Copy full SHA for 0056847 - Browse repository at this point
Copy the full SHA 0056847View commit details -
Expression: correct relocation model for Windows
The Windows Code Generation model cannot generation code with the PIC relocation model - all code is implicitly position independent due to the DLL load slide that occurs if it is not loaded at the preferred base address. Invert the condition and inline the single use of the variable. This should also aid the WASM target. This significantly improves the state of the (swift) repl on Windows (and should aid in expression evaluation on Windows). llvm-svn: 361443
Configuration menu - View commit details
-
Copy full SHA for 9f87d9a - Browse repository at this point
Copy the full SHA 9f87d9aView commit details -
[lldb] Fix use-of-uninitialized-value in Driver
The driver passes by reference an uninitialized num_errors variable to RunCommandInterpreter. This should be fine, as it's supposed to be an output argument, but the reproducer instrumentation reads it in order to record the value of all the arguments to the function. This change fixes it by initializing num_errors to 0 before calling RunCommandInterpreter. llvm-svn: 361444
Configuration menu - View commit details
-
Copy full SHA for 4230f0b - Browse repository at this point
Copy the full SHA 4230f0bView commit details -
FileCheck: Improve FileCheck variable terminology
Summary: Terminology introduced by [[#]] blocks is confusing and does not integrate well with existing terminology. First, variables referred by [[]] blocks are called "pattern variables" while the text a CHECK directive needs to match is called a "CHECK pattern". This is inconsistent with variables in [[#]] blocks since [[#]] blocks are also found in CHECK pattern yet those variables are called "numeric variable". Second, the replacing of both [[]] and [[#]] blocks by the value of the variable or expression they contain is represented by a FileCheckPatternSubstitution class. The naming refers to being a substitution in a CHECK pattern but could be wrongly understood as being a substitution of a pattern variable. Third and lastly, comments use "numeric expression" to refer both to the [[#]] blocks as well as to the numeric expressions these blocks contain which get evaluated at match time. This patch solves these confusions by - calling variables in [[]] and [[#]] blocks as string and numeric variables respectively; - referring to [[]] and [[#]] as substitution *blocks*, with the former being a string substitution block and the latter a numeric substitution block; - calling [[]] and [[#]] blocks to be replaced by the value of a variable or expression they contain a substitution (as opposed to definition when these blocks are used to defined a variable), with the former being a string substitution and the latter a numeric substitution; - renaming the FileCheckPatternSubstitution as a FileCheckSubstitution class with FileCheckStringSubstitution and FileCheckNumericSubstitution subclasses; - restricting the use of "numeric expression" to refer to the expression that is evaluated in a numeric substitution. While numeric substitution blocks only support numeric substitutions of numeric expressions at the moment there are plans to augment numeric substitution blocks to support numeric definitions as well as both a numeric definition and numeric substitution in the same numeric substitution block. Reviewers: jhenderson, jdenny, probinson, arichardson Subscribers: hiraditya, arichardson, probinson, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D62146 llvm-svn: 361445
Configuration menu - View commit details
-
Copy full SHA for c01e476 - Browse repository at this point
Copy the full SHA c01e476View commit details -
[FileCheck] Introduce substitution subclasses
Summary: With now a clear distinction between string and numeric substitutions, this patch introduces separate classes to represent them with a parent class implementing the common interface. Diagnostics in printSubstitutions() are also adapted to not require knowing which substitution is being looked at since it does not hinder clarity and makes the implementation simpler. Reviewers: jhenderson, jdenny, probinson, arichardson Subscribers: llvm-commits, probinson, arichardson, hiraditya Tags: #llvm Differential Revision: https://reviews.llvm.org/D62241 llvm-svn: 361446
Configuration menu - View commit details
-
Copy full SHA for 94aa1e3 - Browse repository at this point
Copy the full SHA 94aa1e3View commit details -
Ack, added DWARFTypeUnit to the wrong target...
LLDB -> liblldbcore.a llvm-svn: 361447
Configuration menu - View commit details
-
Copy full SHA for fa2eca0 - Browse repository at this point
Copy the full SHA fa2eca0View commit details -
[libFuzzer] automatically collect the data flow trace (DFT) in the fo…
…rk mode if -collect_data_flow= is given llvm-svn: 361448
Configuration menu - View commit details
-
Copy full SHA for df93b83 - Browse repository at this point
Copy the full SHA df93b83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6004228 - Browse repository at this point
Copy the full SHA 6004228View commit details -
[llvm-objcopy] Add file names to error messages
Summary: This patch adds the file names to llvm-objcopy error messages. It makes easy to identify which file causes an error. Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=41798 Reviewers: espindola, alexshap, rupprecht, jhenderson, jakehehrlich Reviewed By: rupprecht, jhenderson, jakehehrlich Subscribers: emaste, arichardson, jakehehrlich, MaskRay, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D61993 llvm-svn: 361450
Configuration menu - View commit details
-
Copy full SHA for 69c2739 - Browse repository at this point
Copy the full SHA 69c2739View commit details -
[ARM64][AArch64] Update disassembler attributes to ARMv8.5 ISA with S…
…VE extensions This patch updates assembler attributes for AArch64 targets so we can disassemble newer instructions supported in ISA version 8.5 and SVE extensions. Differential Revision: https://reviews.llvm.org/D62235 llvm-svn: 361451
Configuration menu - View commit details
-
Copy full SHA for 7a124ba - Browse repository at this point
Copy the full SHA 7a124baView commit details -
[libFuzzer] remove the data-flow-trace (DFT) python scripts; their fu…
…nctionality is now part of libFuzzer proper; also write functions.txt to the disk only if this file doesn't exist yet llvm-svn: 361452
Configuration menu - View commit details
-
Copy full SHA for 42db9a1 - Browse repository at this point
Copy the full SHA 42db9a1View commit details -
[X86] Support -fno-plt __tls_get_addr calls
In general dynamic/local dynamic TLS models, with -fno-plt, * x86: emit `calll *___tls_get_addr@GOT(%ebx)` instead of `calll ___tls_get_addr@PLT` Note, on x86, if we can get rid of %ebx as the PIC register, it may be better to use a register not preserved across function calls. * x86_64: emit `callq *__tls_get_addr@GOTPCREL(%rip)` instead of `callq __tls_get_addr@PLT` Reorganize the code by separating 32-bit and 64-bit. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D62106 llvm-svn: 361453
Configuration menu - View commit details
-
Copy full SHA for 341175e - Browse repository at this point
Copy the full SHA 341175eView commit details -
[WebAssembly] Implement __builtin_return_address for emscripten
Summary: In this patch, `ISD::RETURNADDR` is lowered on the emscripten target to the new Emscripten runtime function `emscripten_return_address`, which implements the functionality. Patch by Guanzhong Chen Reviewers: tlively, aheejin Reviewed By: tlively Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D62210 llvm-svn: 361454
Configuration menu - View commit details
-
Copy full SHA for 515fd69 - Browse repository at this point
Copy the full SHA 515fd69View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0d9779 - Browse repository at this point
Copy the full SHA d0d9779View commit details -
[CMake][Fuchsia] Use cannonical triples for runtimes
This ensures that whether the user uses short or cannonical version of the triple, Clang will still find the runtimes under the cannonical triple name. Differential Revision: https://reviews.llvm.org/D52132 llvm-svn: 361456
Configuration menu - View commit details
-
Copy full SHA for d047a90 - Browse repository at this point
Copy the full SHA d047a90View commit details -
Remove unnecessary const&s; NFC
It's uncommon to rely on temporary lifetime extension when having a regular, non-`const&` value behaves identically. Since `Twine::str` and `buildFixMsgForStringFlag` both return regular `std::string`s, there's seemingly no point in having `const&` here. llvm-svn: 361457
Configuration menu - View commit details
-
Copy full SHA for 84682ba - Browse repository at this point
Copy the full SHA 84682baView commit details -
[Utility] Modernize C-style cats
Replaces the remaining C-style casts with explicit casts in Utility. The motivation is that they are (1) easier to spot and (2) don't have multiple meanings. llvm-svn: 361458
Configuration menu - View commit details
-
Copy full SHA for 815eded - Browse repository at this point
Copy the full SHA 815ededView commit details -
[Reproducer] Pass FileSpec by const-ref. (NFC)
Fix two functions where we were passing FileSpecs by value, while we could pass by const reference. llvm-svn: 361459
Configuration menu - View commit details
-
Copy full SHA for 9d78e90 - Browse repository at this point
Copy the full SHA 9d78e90View commit details -
[GlobalOpt] recognize dead struct fields and propagate values
Summary: Allow struct fields SRA and dead stores. This works by considering fields accesses from getElementPtr to be considered as a possible pointer root that can be cleaned up. We check that the variable can be SRA by recursively checking the sub expressions with the new isSafeSubSROAGEP function. basically this allows the array in following C code to be optimized out struct Expr { int a[2]; int b; }; static struct Expr e; int foo (int i) { e.b = 2; e.a[i] = 1; return e.b; } Reviewers: greened, bkramer, nicholas, jmolloy Reviewed By: jmolloy Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D61911 llvm-svn: 361460
Configuration menu - View commit details
-
Copy full SHA for 9ad1f8e - Browse repository at this point
Copy the full SHA 9ad1f8eView commit details -
[CodeComplete] Complete a lambda when preferred type is a function
Summary: Uses a heuristic to detect std::function and friends. Reviewers: kadircet Reviewed By: kadircet Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62238 llvm-svn: 361461
Configuration menu - View commit details
-
Copy full SHA for 511aeea - Browse repository at this point
Copy the full SHA 511aeeaView commit details -
[ARM][CGP] Clear SafeWrap before each search
The previous patch added a member set to store instructions that we could allow to wrap. But this wasn't cleared between searches meaning that they could get promoted, incorrectly, during the promotion of a separate valid chain. Differential Revision: https://reviews.llvm.org/D62254 llvm-svn: 361462
Configuration menu - View commit details
-
Copy full SHA for f15d712 - Browse repository at this point
Copy the full SHA f15d712View commit details -
Simplify
GetName
+AppendTypeName
byDWARFDIE
In D61502#1503247 @clayborg suggested that DWARFUnit *+dw_offset_t can be now replaced by DWARFDIE. It is moved from DWARFDebugInfoEntry to DWARFDIE as noted by @clayborg. I have also removed return type as (1) it was wrong in one case and (2) no existing caller used the return type. I also refactored the deep nesting noted by @JDevlieghere. Differential Revision: https://reviews.llvm.org/D62211 llvm-svn: 361463
Configuration menu - View commit details
-
Copy full SHA for 307ada6 - Browse repository at this point
Copy the full SHA 307ada6View commit details -
[clangd-vscode] Bump versions dependencies. NFC
Result of running 'npm audit fix', which tracks security vulnerabilities. llvm-svn: 361464
Configuration menu - View commit details
-
Copy full SHA for 9a81195 - Browse repository at this point
Copy the full SHA 9a81195View commit details -
Fix for build and LIT failures after sync with LLVM eee5d42
In details: 1. Content in clang offload bundler changed type to Expected<StringRef> 2. Unnecessary error check for unqualified-id was removed from SemaSYCL/address-space-parameter-conversions.cpp respecting the appropriate change from the community. Signed-off-by: Dmitry Sidorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 537f92a - Browse repository at this point
Copy the full SHA 537f92aView commit details -
Sync to SPIRV-LLVM-Translator ed1a4f738d43
Signed-off-by: Dmitry Sidorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d4be77 - Browse repository at this point
Copy the full SHA 8d4be77View commit details
Commits on May 26, 2019
-
[SYCL] Fix several errors in accessor
This patch fixes 2 constructors, fixes get_count() and get_size() methods, adds operator== and operator!=, fixes hash implementation, adds static_asssert to range and id classes to have early check for wrong dimension, fixes few other errors. Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a91d722 - Browse repository at this point
Copy the full SHA a91d722View commit details -
[SYCL] Fix conversions in multi_ptr class.
Clang doesn't allow casting address spaces using reinterpret_cast. Replaced with C-style cast. Signed-off-by: Vlad Romanov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a287f9d - Browse repository at this point
Copy the full SHA a287f9dView commit details
Commits on May 27, 2019
-
[SYCL] Align get_profiling_info behavior with the specification
Wait for event in get_profiling_info. Signed-off-by: Vlad Romanov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40ce2a7 - Browse repository at this point
Copy the full SHA 40ce2a7View commit details -
[SYCL] Update scheduler API in event methods
Updated event::get_wait_list, event::wait_and_throw and event::wait to use new scheduler. Signed-off-by: Vlad Romanov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5334afc - Browse repository at this point
Copy the full SHA 5334afcView commit details -
[SYCL][NFC] Capitalize SYCL specification references
Signed-off-by: Alexey Bader <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff4e08c - Browse repository at this point
Copy the full SHA ff4e08cView commit details -
Clean-up after 8a95712. [SYCL] Get sampler and accessor types without using named fields of kernel object Using the types of the parameter variables of __init method instead Signed-off-by: Alexey Bader <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5b4a89e - Browse repository at this point
Copy the full SHA 5b4a89eView commit details
Commits on May 28, 2019
-
[SYCL] Add support of reqd_sub_group_size attribute to SYCL FE
Signed-off-by: Alexey Sachkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 97590a7 - Browse repository at this point
Copy the full SHA 97590a7View commit details -
[SYCL] Rename OpenCLIntelReqdSubGroupSize attribute
Since this attribute can also be used in SYCL, it is better to remove 'OpenCL' prefix. Also added LangOpt's to the attribute Signed-off-by: Alexey Sachkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cf47697 - Browse repository at this point
Copy the full SHA cf47697View commit details -
[SYCL] Use exclusive queues for blocked commands.
This fixes an issue with hanging on several OpenCL devices in the cases when we firstly enqueue command which is blocked, then enqueue another command which is not and wait for the second. More details in code comment. Signed-off-by: Vlad Romanov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 19e6105 - Browse repository at this point
Copy the full SHA 19e6105View commit details -
[SYCL] Set timeout of SYCL LIT tests = 10 mins.
Some tests may hang which can cause failing of overall check-all target without clear message. Timeout will be set only if psutil python module exists, no timeout otherwise. Signed-off-by: Vlad Romanov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 537f6df - Browse repository at this point
Copy the full SHA 537f6dfView commit details -
[SYCL] Disable event_profiling_info.cpp on host device.
Get profiling info is not supported on host device. Signed-off-by: Vlad Romanov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 109cdc5 - Browse repository at this point
Copy the full SHA 109cdc5View commit details
Commits on May 29, 2019
-
[SYCL] Remove re-flower pass from clang
Signed-off-by: Mariya Podchishchaeva <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd9de48 - Browse repository at this point
Copy the full SHA cd9de48View commit details -
[SYCL] Add aliases to OpenCL event and sampler types for SYCL
event_t and sampler_t type names are replaced with __ocl_event_t and __ocl_sampler_t to avoid potential collisions with user types. This change allows to re-use OpenCL event and sampler types for SYCL and replace OpTypeEvent and OpTypeSampler with __ocl_event_t and __ocl_sampler_t in SYCL headers. OpenCL diagnostics is not enabled. Signed-off-by: Mariya Podchishchaeva <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7db9ce8 - Browse repository at this point
Copy the full SHA 7db9ce8View commit details -
[SYCL] Use SPIRV-friendly built-in naming scheme
This change allows to avoid re-flower pass using. Signed-off-by: Mariya Podchishchaeva <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a5f2fda - Browse repository at this point
Copy the full SHA a5f2fdaView commit details -
[SYCL] Update SYCL clang tests
Replace SPIR-V type names with built-in OpenCL type names. Use mangled class names in IR checking. Signed-off-by: Mariya Podchishchaeva <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39c82eb - Browse repository at this point
Copy the full SHA 39c82ebView commit details
Commits on May 30, 2019
-
[SYCL] Add support for info::device::sub_group_sizes
Signed-off-by: Vladimir Lazarev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7af8c96 - Browse repository at this point
Copy the full SHA 7af8c96View commit details -
[SYCL] Fix issues on Windows: aligned alloc, prefetch, __builtin_expe…
…ct, /EHsc Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c13cb8d - Browse repository at this point
Copy the full SHA c13cb8dView commit details
Commits on May 31, 2019
-
Merge remote-tracking branch 'intel' into 'sycl'
Signed-off-by: Dmitry Sidorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d6c48c3 - Browse repository at this point
Copy the full SHA d6c48c3View commit details -
[SYCL] Added a test for the removal of the const item operator[] over…
…load, and removed the overload. This is no longer present in the SYCL 1.2.1 specification since revision 5. Signed-off-by: Paul Keir <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 92b4a08 - Browse repository at this point
Copy the full SHA 92b4a08View commit details -
add pointer from README to extensions folder
Signed-off-by: Jeff Hammond <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for adb9912 - Browse repository at this point
Copy the full SHA adb9912View commit details -
[SYCL] Fix the definition of const_reference in accessor
Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ae767f - Browse repository at this point
Copy the full SHA 0ae767fView commit details
Commits on Jun 1, 2019
-
[Driver][Offloader] Add getOffloadingDeviceToolChain function
getOffloadingDeviceToolChain is the equivalent of getToolChain for device ToolChains. It may be possible to merge the two but as Offloading Devices require some extra information (like host/device triple and OffloadKind) it may get a little messy. The switch statement in getToolChain also already seems a little complex. So it may not be worth merging and over complicating them. In general using getOffloadingDeviceToolChain moves some of the shared logic for device ToolChain selection for SYCL/CUDA/HIP/OpenMP into the function call, so it refactors it a bit. But in a more specific application to the SYCL implementation this call allows a ToolChain implementer to add their own ToolChain in place of the SYCL ToolChain when targeting a specific host / device triple. However, if they did not want to add their own ToolChain and simply wanted to add a new tool to the existing SYCL ToolChain they'd still be able to do that via overloading/adding to the GetTools method inside of the SYCLToolChain. So the intent is just to add more flexibility, rather than replace some functionality with some other functionality. Signed-off-by: Andrew Gozillon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25cd310 - Browse repository at this point
Copy the full SHA 25cd310View commit details -
[SYCL][Driver][Offloader] Adding appropriate error out on incorrect S…
…YCL target No longer will the switch statement assert with llvm_unreachable, instead the appropriate Clang diagnostic warning for an invalid SYCL output should be emitted. This occurs in the initialize() call for the SYCL offloader/phase and action generator, similar to how CUDA emits errors for incorrect GPU Arch targets. Doing it similarly to OpenMP (inside CompilerInvocation.cpp) doesn't work in this case as if we pass an invalid target we won't accidentally generate an invalid/incorrect ToolChain like GetToolChain's we will instead return a nullptr which will ICE the compiler before it reaches CompilerInvocation.cpp, so the warning interaction has to be slightly different in this case. Also removing some unused variables I missed in the first commit. Signed-off-by: Andrew Gozillon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5361627 - Browse repository at this point
Copy the full SHA 5361627View commit details -
[SYCL][Driver][Offloader][NFC] Moving invalid SYCL target diagnostic
This should be an NFC. Moved the diagnostic from the OffloadingActionBuilder's initialize method to the Driver's CreateOffloadingDeviceToolChains call. No need to track it in two places, invalid target caught as early as required. Should be no chance of ICE'ng the compiler by accessing a non-existant ToolChain. Signed-off-by: Andrew Gozillon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 23fd38b - Browse repository at this point
Copy the full SHA 23fd38bView commit details -
[SYCL][Driver]Offloader][Test] Add test case to sycl-offload.c
New test case aims to showcase that existing architecture triples that are not valid for SYCL offloading also get rejected. In this case, just testing using x86_64. Signed-off-by: Andrew Gozillon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2dffc68 - Browse repository at this point
Copy the full SHA 2dffc68View commit details
Commits on Jun 2, 2019
-
[SYCL] Fix the kernel name received via get_info method.
Made the names returned from the get_info method and from the integration header of the same kernel equal. clGetKernelInfo(used by get_info) function returns size of kernel name + 1 and kernel name with additional symbol '\0'. So size of the string returned from get_info is one character longer and clGetKernelInfo writes the additional symbol into raw pointer of the string. But inegration header returns kernel name aka string("kernelname"). Respectively: """ std::string str(/*strlen("kernelname")*/10 + 1, ' '); strcpy((char*)str.c_str(), "kernelname"); str != std::string("kernelname"); """ Signed-off-by: Alexey Voronov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f477bb8 - Browse repository at this point
Copy the full SHA f477bb8View commit details -
[SYCL] Fix set_arg(s) methods to work with constant variables
Signed-off-by: Alexey Voronov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef0a0c1 - Browse repository at this point
Copy the full SHA ef0a0c1View commit details -
[SYCL] Several fixes for handler methods.
Removed set_arg method calls from accessor constructors. Fixed require method: now will make dependencies in the scheduler. Added support set_arg for non source SYCL kernels. Signed-off-by: Alexey Voronov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11b0baa - Browse repository at this point
Copy the full SHA 11b0baaView commit details -
[SYCL] Add support for local accessors in set_arg(s) handler method.
Signed-off-by: Alexey Voronov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 47727b2 - Browse repository at this point
Copy the full SHA 47727b2View commit details
Commits on Jun 3, 2019
-
Merge pull request #182 from MrSidims/private/MrSidims/fake_merge
Merge remote-tracking branch 'intel' into 'sycl'
Configuration menu - View commit details
-
Copy full SHA for c6776ee - Browse repository at this point
Copy the full SHA c6776eeView commit details -
[SYCL] Fix metadata for Intel FPGA loop attributes
llvm.loop.[ii/max_concurrency] -> llvm.loop.[ii/max_concurrency].count Signed-off-by: Dmitry Sidorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b343f8f - Browse repository at this point
Copy the full SHA b343f8fView commit details -
[SYCL][OpenMP] Update compilation behaviors with fat archives
Allow for compilation using multiple objects and also enable compilation from source. Initial support for compilation from fat archives only allowed the compile to be from a single object and the fat archive. These changes expand on that to allow compilation direct from source files and multiple objects. Signed-off-by: Michael D Toguchi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eacc876 - Browse repository at this point
Copy the full SHA eacc876View commit details -
[SYCL] Fix handler set_arg(s) method.
Fixed incorrect storing and extractiong of global/constant accessor in set_arg(s) logic. Signed-off-by: Alexey Voronov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d404d1c - Browse repository at this point
Copy the full SHA d404d1cView commit details
Commits on Jun 7, 2019
-
[SYCL] Fix errors caused by unsupported __builtin_expect() on Windows
Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 505e195 - Browse repository at this point
Copy the full SHA 505e195View commit details -
This code is redundant since we abandoned re-flower pass and OclCxx classes. Signed-off-by: Mariya Podchishchaeva <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d847c0 - Browse repository at this point
Copy the full SHA 4d847c0View commit details -
[SYCL] Remove _Float16 from integration header
The main problem that half type is defined as _Float16 on the device and as manually implemented type on host so compiler could add _Float16 to the integration header and it will produce errors in host compilation. Signed-off-by: Mariya Podchishchaeva <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d186a3 - Browse repository at this point
Copy the full SHA 8d186a3View commit details -
[SYCL] Clean up in swizzle macros, prepare them for change of Indexer
Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5adefa3 - Browse repository at this point
Copy the full SHA 5adefa3View commit details -
[SYCL][NFC] Add 2 private aux types to SwizzleOp class
This change is preparing vec and SwizzleOp classes to replacement of getNumElements() constexpr method with sizeof...(Indices) and replacement of constexpr Indexer() method with template struct Indexer to workaround an error in MSVC compiler on Windows. Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 637c69b - Browse repository at this point
Copy the full SHA 637c69bView commit details
Commits on Jun 8, 2019
-
[SYCL][FPGA] Add 'SYCL' lang prefix for loop attributes
Rename SYCL specific loop attributes to avoid potential name conflicts. Signed-off-by: Dmitry Sidorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5713c57 - Browse repository at this point
Copy the full SHA 5713c57View commit details -
[SYCL] Fix vec and SwizzleOp types on Windows
The fix adds a workaround for MSVC bug that is fixed only in v19.20, and enables vec and SwizzleOp classes compilation for Windows. The versions of MSVC older than v19.20 do not recognize constexpr functions getNumElements() and Indexer() as const and thus do not let using them in template class parameters. The fix inlines getNumElements() and turns constexpr function Indexer(int I) into template struct Indexer<int I>. Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33fabc4 - Browse repository at this point
Copy the full SHA 33fabc4View commit details -
[SYCL] Include <algorithm> for std::max, define M_PI macro in builtins
Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9079001 - Browse repository at this point
Copy the full SHA 9079001View commit details
Commits on Jun 9, 2019
-
[SYCL] Add SYCL clang frontend doc
Signed-off-by: Mariya Podchishchaeva <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1614b8f - Browse repository at this point
Copy the full SHA 1614b8fView commit details
Commits on Jun 10, 2019
-
[SYCL] Sync with SPIRV-LLVM-Translator 365675f2
Signed-off-by: Alexey Sachkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5a3a030 - Browse repository at this point
Copy the full SHA 5a3a030View commit details -
[SYCL] Refactor SYCL clang kernel wrapper tests
Signed-off-by: Mariya Podchishchaeva <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a72d544 - Browse repository at this point
Copy the full SHA a72d544View commit details -
Signed-off-by: Artur Gainullin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76bb259 - Browse repository at this point
Copy the full SHA 76bb259View commit details
Commits on Jun 12, 2019
-
[SYCL] Add /bigobj switch to SemaSYCL.cpp on Windows to enable DEBUG …
…build Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a718871 - Browse repository at this point
Copy the full SHA a718871View commit details -
[SYCL] Enable sampler support in set_arg(s) method.
Signed-off-by: Alexey Voronov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e48081 - Browse repository at this point
Copy the full SHA 2e48081View commit details -
[SYCL][NFC] Remove code from comments.
Removed comments are redundant and complicate maintenance. Signed-off-by: Alexey Bader <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for da9bdd3 - Browse repository at this point
Copy the full SHA da9bdd3View commit details -
[SYCL] Update documentation with OpenCL types re-use proposal
Signed-off-by: Alexey Bader <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 208cd7c - Browse repository at this point
Copy the full SHA 208cd7cView commit details -
[SYCL] Enable OpenCL diagnostics for sampler in SYCL mode
Selectively enabled a few OpenCL diagnostics for sampler type as some diagnostics trigger on SYCL use cases. For instance, OpenCL kernel in SYCL mode initializes lambda captures with the kernel argument values. This initialization code for sampler emits errors because OpenCL disallows sampler on the right hand side of the binary operators - these are supposed to be used only by built-in functions. Another potential issue is the lambda object itself - captured sampler is a member of the lambda object and OpenCL doesn't allow composite types with samplers. SPIR-V produced from SYCL should be okay as lambda object can be removed by standard LLVM transformation passes. Signed-off-by: Alexey Bader <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb735ee - Browse repository at this point
Copy the full SHA eb735eeView commit details
Commits on Jun 13, 2019
-
[SYCL][clang-cc1] Add new cc1 option: -dependency-filter PREFIX
to filter files with prefix match from dependency output. In sycl compilation, clang invokes cc1 two times, once for the host compilation and once for the offload compilation. The offload compilation generates a .h file, the host compilation includes this generated .h file. Finally, the clang driver deletes the generated temporary .h file before terminating. This new cc1 option allows the clang driver to specify that the temporary .h files shouldn't be added into the dependency information. Signed-off-by: Melanie Blower <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4508874 - Browse repository at this point
Copy the full SHA 4508874View commit details -
[SYCL] Fix build after old scheduler removal
Signed-off-by: Artur Gainullin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76cd23d - Browse repository at this point
Copy the full SHA 76cd23dView commit details
Commits on Jun 14, 2019
-
[SYCL] Release notes for June'19 release.
Signed-off-by: Vlad Romanov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f4a5a63 - Browse repository at this point
Copy the full SHA f4a5a63View commit details
Commits on Jun 15, 2019
-
[SYCL] Align global_mem_cache_type values with SYCL specification.
Rename global_mem_cache_type::write_only to global_mem_cache_type::read_write. Signed-off-by: Vlad Romanov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bc8c55c - Browse repository at this point
Copy the full SHA bc8c55cView commit details -
Stream class wraps an accessor to the underlying stream buffer. Offset in this buffer is updated atomically to allow streaming by multiple threads safely. Current implementation is not complete. It supports output of string, char and boolean types. Other operators are defined with todo in the body. Signed-off-by: Artur Gainullin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6540810 - Browse repository at this point
Copy the full SHA 6540810View commit details -
[SYCL] Check return of Expected<T> when reading section size content
Community pull down introduced Expected<T> on the return of getContents. Apply the needed check after return to satisfy. From the llvm manual: All Error instances, whether success or failure, must be either checked or moved from (via std::move or a return) before they are destructed Signed-off-by: Michael D Toguchi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ceb9e2 - Browse repository at this point
Copy the full SHA 9ceb9e2View commit details
Commits on Jun 18, 2019
-
[SYCL] Minor fixes after stream class implementation.
* Warnings were fixed. * Bug in assertion was fixed. Signed-off-by: Artur Gainullin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ff0401 - Browse repository at this point
Copy the full SHA 9ff0401View commit details -
[SYCL] Enable set_final_data for shared_ptr
Signed-off-by: Vladimir Lazarev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dba5f18 - Browse repository at this point
Copy the full SHA dba5f18View commit details -
[SYCL] Fix warning in half implementation
There was strict-aliasing rules violation. It could produce undefined behaviour. Signed-off-by: Mariya Podchishchaeva <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b8be71 - Browse repository at this point
Copy the full SHA 6b8be71View commit details -
Signed-off-by: Jeff Hammond <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54e4ecb - Browse repository at this point
Copy the full SHA 54e4ecbView commit details -
[SYCL] Retain OpenCL kernel in SYCL kernel constructor
Also added check that passed SYCL context represents the same underlying OpenCL context associated with the OpenCL kernel object. Signed-off-by: Mariya Podchishchaeva <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c9ab05 - Browse repository at this point
Copy the full SHA 2c9ab05View commit details -
[SYCL] add support for -fsycl-link
Generate a wrapped device binary that can be used independently with a host link step. Takes the provided fat objects or source, extracts or creates the associated device binaries and wraps them to be used during a regular host link step Signed-off-by: Michael D Toguchi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60978ef - Browse repository at this point
Copy the full SHA 60978efView commit details
Commits on Jun 19, 2019
-
[SYCL] Add ND-range reduction extension docs (#211)
Use 0-dim accessors for scalar reductions . For buffers, reduction variables inherit dimensionality from accessors. For USM, reduction variables are assumed scalar without use of span. Signed-off-by: John Pennycook <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2248cc - Browse repository at this point
Copy the full SHA b2248ccView commit details -
Even when compiling for the device, code meant only for host execution must be semantically analyzable. Existing wrapper headers were initially created to resolve this problem. But now -aux-triple is used to pass target triple of opposite side of compilation. Clang knows target triple for both sides of compilation so that preprocessor macros and target builtins from both sides are available. That is why there is no need in existing wrapper headers with stub definitions since they break compilation for cases when standard headers are included. Approach with -aux-triple is not complete solution. Host headers might provide definitions relying on host inline asm, intrinsics, using types not lowerable in device code. So we will need to provide a solution to overload some definitions for the device or to define only some macro for host headers. This will be resolved in other commits. Signed-off-by: Artur Gainullin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 57ee6e1 - Browse repository at this point
Copy the full SHA 57ee6e1View commit details -
[SYCL][NFC] Remove dead code (#230)
Remove OpenCL cl_mem_fence_flags type/values definitions as the device compiler uses SPIR-V type/values now instead of OpenCL ones. Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e844b0c - Browse repository at this point
Copy the full SHA e844b0cView commit details
Commits on Jun 20, 2019
-
[SYCL] Refactor OpenCL kernel generation (#227)
This change unifies handling of sampler and accessor types during OpenCL kernel generation. Signed-off-by: Mariya Podchishchaeva <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa4ba4c - Browse repository at this point
Copy the full SHA fa4ba4cView commit details -
[SYCL] Temporary disable stream LIT test.
Signed-off-by: Vlad Romanov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c191009 - Browse repository at this point
Copy the full SHA c191009View commit details -
[SYCL] Fix two build time errors reported by MSVC 2019
1) Fix error: "'detail::getSyclObjImpl': not a function". 2) Fix error: "subscript requires array or pointer type" for std::array use. 3) Fix few warnings caused by inconsistent usage of class-vs-struct keyword. Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d719f7 - Browse repository at this point
Copy the full SHA 8d719f7View commit details -
[SYCL] Image Class Initial Implementation.
Patch 1: Implementation of Constructors for image class. Files Added: image.hpp - Includes the interface for image class. detail/image_impl.hpp - Includes the implementation of image_impl class. detail/image_impl.cpp - For now includes the utility functions. Will be expanded later as accessor and other APIs are implemented. test/basic_tests/image_constructors.cpp - test to check the image constructors. Next To Do: SPIRV Code generation and accessors implementations. Signed-off-by: Garima Gupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55e9753 - Browse repository at this point
Copy the full SHA 55e9753View commit details
Commits on Jun 21, 2019
-
[Buildbot] migrate build script from shell to python
Signed-off-by: Kurt Chen <[email protected]> Signed-off-by: Vladimir Lazarev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f6c353 - Browse repository at this point
Copy the full SHA 3f6c353View commit details -
[SYCL] Update documents with recent project changes
- Add development process description to contributing guide - Add info about skipping LIT tests targetting OpenCL device if corresponding RT is missed. Signed-off-by: Vladimir Lazarev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 07358ac - Browse repository at this point
Copy the full SHA 07358acView commit details -
[SYCL] Avoid declaring unscoped enums in global namespace
According to C++ spec: Each enumerator becomes a named constant of the enumeration's type (that is, name), visible in the enclosing scope, and can be used whenever constants are required. Having unscoped enumerations defined in global namespace reserve some names and prohibits it's using in user's applications. For example, 'Device' might be used as user's class name and it might cause ambiguity. This patch aligns declaration of enums in spirv_types.hpp with ones from SPIRV-Headers project to avoid declaring identifiers in global namespace and simplify transition in the future. There are few exceptions: * uint32_t is used as base type for enum instead of unsigned. * '__spv' namespace is used instead of 'spv'. Signed-off-by: Alexey Sachkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c58035 - Browse repository at this point
Copy the full SHA 4c58035View commit details -
[SYCL][NFC] Refactor common code into a helper function
Signed-off-by: Alexey Sachkov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc51240 - Browse repository at this point
Copy the full SHA dc51240View commit details -
[SYCL] Remove outdated CMake configuration.
Remove CMake configuration expecting llvm-spirv and SYCL projects to be located in LLVM source tree. Location of external projects should be set via CMake variables. Signed-off-by: Alexey Bader <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c05692e - Browse repository at this point
Copy the full SHA c05692eView commit details
Commits on Jun 24, 2019
-
[SYCL] Fix cl::sycl::group get_linear_id API name.
Current API spelling is get_linear, which is wrong - should be get_linear_id according to spec. Fix the unit test as well. Signed-off-by: Konstantin Bobrovsky [email protected]
Configuration menu - View commit details
-
Copy full SHA for 4390733 - Browse repository at this point
Copy the full SHA 4390733View commit details -
First attempt at __unique_stable_name
This implementation uses the keyword __unique_stable_name as an operator that can take a type or expression, and will result in a constexpr constant character array that (hopefully) uniquely represents the type or type-of-expression being passed to it. The unique representation is the normal mangled name of the type, except in the cases of a lambda, where the ordinal "number" is just replaced with LINE->COL. Macro expansions are also appended with '~' followed by the LINE->COL that it appears in. For example, a lambda declared in 'main' would look like _ZTSZ4mainEUlvE25->12 (line 25, column 12). A Lambda that comes from a macro looks like: _ZTSZ4mainEUlvE45->3~18->32 (macro invoked on 45/3, lambda defined inside the macro on line 18, column 32). Template instantiations based on the lambda would result in a name that contains the lambda mangling, for example: _ZTSZ3bazIZ4mainEUlvE25->12EvvEUlvE14->12 A function template named 'baz' that is instantiated with a lambda declared in 'main' on line 25/col 12 has another macro in it, declared on line 14, column 12. WIP Signed-off-by: Erich Keane <[email protected]>
Erich Keane committedJun 24, 2019 Configuration menu - View commit details
-
Copy full SHA for c6d0281 - Browse repository at this point
Copy the full SHA c6d0281View commit details