- Feb 09, 2021
-
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Kirill Bobyrev authored
Fixes https://github.com/clangd/clangd/issues/685 Reviewed By: hokein Differential Revision: https://reviews.llvm.org/D96247
-
Valeriy Savchenko authored
-
Jan Svoboda authored
This patch implements generation of remaining codegen options and tests it by performing parse-generate-parse round trip. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D96056
-
Jan Svoboda authored
Regular expression patterns passed through the command line are being used to create an instances of `llvm::Regex` and thrown away. There is no API to serialize `Regex` back to the original pattern. This means we have no way to reconstruct the original pattern from command line. This is necessary for serializing `CompilerInvocation`. This patch stores the original pattern string in `CodeGenOptions` alongside the `llvm::Regex` instance. Reviewed By: dexonsmith, thegameg Differential Revision: https://reviews.llvm.org/D96036
-
Jeremy Morse authored
This reverts commit e05c1038. See parent commit, there's a bot which isn't captured in the XFail list, reverting til I work out what it is.
-
Jeremy Morse authored
This reverts commit 4fd29e4f. There's a report in D95617 that this is failing on what (I think?) is an aarch64 bot, which should be covered by the XFail list... reverting this follow-up and the base patch until I work out what's wrong here.
-
LLVM GN Syncbot authored
-
Jan Svoboda authored
This patch implements generation of remaining language options and tests it by performing parse-generate-parse round trip (on by default for assert builds, off otherwise). This patch also correctly reports failures in `parseSanitizerKinds`, which is necessary for emitting diagnostics when an invalid sanitizer is passed to `-fsanitize=` during round-trip. This patch also removes TableGen marshalling classes from two options: * `fsanitize_blacklist` When parsing: it's first initialized via the generated code, but then also changed by manually written code, which is confusing. * `fopenmp` When parsing: it's first initialized via generated code, but then conditionally changed by manually written code. This is also confusing. Moreover, we need to do some extra checks when generating it, which would be really cumbersome in TableGen. (Specifically, not emitting it when `-fopenmp-simd` was present.) Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D95793
-
Fangrui Song authored
`extern const bfd_target aarch64_elf64_le_vec;` is a variable in BFD. It was somehow misused as an emulation by Android. ``` % aarch64-linux-gnu-ld -m aarch64_elf64_le_vec a.o aarch64-linux-gnu-ld: unrecognised emulation mode: aarch64_elf64_le_vec Supported emulations: aarch64linux aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb aarch64linuxb aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi ``` Acked by Stephen Hines, who removed the flag from Android a while back.
-
Valeriy Savchenko authored
It is very common to check callbacks and completion handlers for null. This patch supports such checks using built-in functions: * __builtin_expect * __builtin_expect_with_probablity * __builtin_unpredictable rdar://73455388 Differential Revision: https://reviews.llvm.org/D96268
-
Hongtao Yu authored
Rewritting the path of the sample profile file in response.txt to be relative to the repro tar. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D96193
-
Chuanqi Xu authored
-
Hsiangkai Wang authored
In vector v0.10, there are whole vector register load/store instructions. I suggest to use the whole register load/store instructions for generic load/store for scalable vector types. It could save up vset{i}vl{i} for these load/store. For fractional LMUL, I keep to use vle{eew}.v/vse{eew}.v instructions to load/store partial vector registers. Differential Revision: https://reviews.llvm.org/D95853 -
Zakk Chen authored
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D96306
-
Fangrui Song authored
-
Fangrui Song authored
-
Douglas Yung authored
This should fix buildbot failures like http://lab.llvm.org:8011/#/builders/107/builds/4469
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
Identified with const-return-type.
-
Max Kazantsev authored
Another attempt, this time with tripple fix.
-
George authored
Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D96301
-
Sam Clegg authored
addOptionalGlobalSymbols should be addOptionalGlobalSymbol. Also, remove unnecessary additional argument to make the signature match the sibling function: addOptionalDataSymbol. Differential Revision: https://reviews.llvm.org/D96305
-
Yaxun (Sam) Liu authored
This patch added a distinct CUID for each input file, which is represented by InputAction. clang initially creates an InputAction for each input file for the host compilation. In CUDA/HIP action builder, each InputAction is given a CUID and cloned for each GPU arch, and the CUID is also cloned. In this way, we guarantee the corresponding device and host compilation for the same file shared the same CUID. On the other hand, different compilation units have different CUID. -fuse-cuid=random|hash|none is added to control the method to generate CUID. The default is hash. -cuid=X is also added to specify CUID explicitly, which overrides -fuse-cuid. Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D95007
-
Dave Lee authored
Check a `Block` pointer before dereferencing. Using `function.mangled-name` led to a crash for a frame where the symbol context had no block info. In my case, the frame's function was a system frame. Differential Revision: https://reviews.llvm.org/D96307
-
Jinsong Ji authored
This reverts commit 502a67dd. This expose a failure in test-suite build on PowerPC, revert to unblock buildbot first, Dave will re-commit in https://reviews.llvm.org/D96287. Thanks Dave.
-
Richard Smith authored
during the same evaluation. It looks like the only case for which this matters is determining whether mutable subobjects of a heap allocation can be modified during constant evaluation.
-
Richard Smith authored
variable's destruction if it didn't do so during construction. The standard doesn't give any guidance as to what to do here, but this approach seems reasonable and conservative, and has been proposed to the standard committee.
-
Fangrui Song authored
-
LLVM GN Syncbot authored
-
Greg McGary authored
This is an initial base commit for ARM64 target arch support. I don't represent that it complete or bug-free, but wish to put it out for review now that some basic things like branch target & load/store address relocs are working. I can add more tests to this base commit, or add them in follow-up commits. It is not entirely clear whether I use the "ARM64" (Apple) or "AArch64" (non-Apple) naming convention. Guidance is appreciated. Differential Revision: https://reviews.llvm.org/D88629
-
Sam Clegg authored
When calculating the symbol offsets to write as provisitonal values in object files we are only interested in the offset of the symbol itself. For aliases this offset already includes the offset of the base symbol. The testin question was added back in https://reviews.llvm.org/D87407 but I believe the expectations here were incorrect. sym_a lives at offset 4 and sym_b lives 4 bytes into that (should be 8). The addresses of the 3 symbosl in this object file are: foo : 0 sym_a: 4 sym_b: 8 Differential Revision: https://reviews.llvm.org/D96234
-
Craig Topper authored
[TableGen] Use return value from EmitVBRValue instead of calling GetVBRSize on the same value. Consistently use unsigned for child sizes. NFCI getSize and setSize both use unsigned. So size_t doesn't increase range here and might get truncated if passed to setSize. Also not sure why EmitVBRValue was returning uint64_t, but used an unsigned to supply the value.
-
Uday Bondhugula authored
Fix std.copysign op documentation. NFC. Differential Revision: https://reviews.llvm.org/D96217
-
Yaxun (Sam) Liu authored
-fgpu-rdc is output in different order
-
LemonBoy authored
Reviewed By: joerg Differential Revision: https://reviews.llvm.org/D77737
-