Skip to content

LLVM and SPIRV-LLVM-Translator pulldown (WW29) #4092

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

Merged
merged 536 commits into from
Jul 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
536 commits
Select commit Hold shift + click to select a range
e2bc88f
[ARM] Extra v8i16 -> i64 reduction tests with loads. NFC
davemgreen Jul 8, 2021
3dd75f5
[WebAssembly] Scalarize extract_vector_elt of binops
tlively Jul 8, 2021
7c35aae
Mark TensorDialect legal and PadTensor op illegal
cathyzhyi Jul 8, 2021
6315163
[ARM] Pass 2 instead of 0 to PHINode::Create in MVEGatherScatterLower…
topperc Jul 8, 2021
e5b0fe1
[AMDGPU] Mark more SOP instructions as rematerializable
rampitec Jul 8, 2021
0d0cff3
[mlir][sparse] Add Merger unit tests
gussmith23 Jul 8, 2021
0eb2b13
Add AddDiscriminatorsPass to NPM default O0 pipeline
Jul 8, 2021
1dc005a
Add documentation for -fsanitize-address-use-after-return.
kda Jul 8, 2021
70eb3bf
[mlir-reduce] Fix the grammer in the doc
ChiaHungDuan Jul 9, 2021
009436e
[NFC][ScalarEvolution] Cleanup howManyLessThans.
efriedma-quic Jul 9, 2021
38451fa
Revert "[mlir][sparse] Add Merger unit tests"
joker-eph Jul 9, 2021
ed102ce
[RISCV][test] Add new tests for mul optimization in the zba extension…
benshi001 Jul 9, 2021
2e194de
[ASan][AMDGPU] Make shadow offset match X86 on Linux
rksharma-yymd Jul 9, 2021
932e3d9
Revert "GlobalISel/AArch64: don't optimize away redundant branches at…
omjavaid Jul 9, 2021
5553d83
Update Bazel overlay in GPUToGPURuntimeTransforms.
echristo Jul 9, 2021
55bd12d
[PowerPC] Remove implicit use register after transformToImmFormFedByLI()
Jul 9, 2021
62cc3cd
[CMake] Disable -fno-semantic-interposition for GCC<10.3 on SystemZ
imaihal Jul 9, 2021
88326bb
[RISCV][clang] Add macro __riscv_zvlsseg for RVV Zvlsseg builtins
Jul 9, 2021
e24bb69
[NewPM] Handle passes with params in -print-before/-print-after
bjope Jun 27, 2021
472462c
[NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg'
bjope Jul 8, 2021
1db2551
[NewPM] Rename 'unswitch' to 'simple-loop-unswitch' in PassRegistry
bjope Jul 8, 2021
b2a8ef7
Merge from 'sycl' to 'sycl-web'
Jul 9, 2021
375694a
Transform memset + malloc --> calloc (PR25892)
yurai007 Jul 5, 2021
0c39f82
[Support] reorder Threading includes to avoid conflict with FreeBSD h…
TNorthover Jul 9, 2021
6d87ca0
[ELF] Refactor DynamicReloc to fix incorrect relocation addends
arichardson Jul 9, 2021
35c5e56
[ELF] Check the Elf_Rel addends for dynamic relocations
arichardson Jul 9, 2021
f4b0c9a
[ELF] Implement X86_64::getImplicitAddend()
arichardson Jul 9, 2021
79332fb
[ELF] Write R_X86_64_IRELATIVE addends with -z rel
arichardson Jul 9, 2021
e564932
[ELF] Write R_RISCV_IRELATIVE addends with -z rel
arichardson Jul 9, 2021
97fe637
[ELF] Implement RISCV::getImplicitAddend()
arichardson Jul 9, 2021
cc7cb95
[ELF][AArch64] Write addends for TLSDESC relocations with -z rel
arichardson Jul 9, 2021
74da7ae
[NFC][llvm][docs] YamlIO: StringRef validate -> std::string validate
whisperity Jul 9, 2021
f4877c7
[clang] Improve `-Wnull-dereference` diag to be more in-line with rea…
LebedevRI Jul 9, 2021
47653db
[clang] Fix an infinite loop during typo-correction
hokein Jul 7, 2021
a72a441
[compiler-rt][ASAN] Speculatively fix Windows/dll_control_c.cpp test …
LebedevRI Jul 9, 2021
3485e9b
[NewPM][FuzzMutate] Fix renaming 'unswitch' to 'simple-loop-unswitch'
bjope Jul 9, 2021
dddb225
[Polly][Isl] Update isl to isl-0.24-52-gd7be01f7
patacca Jul 9, 2021
2df37d5
[NFC][Codegen] Harden a few tests to not rely that volatile store to …
LebedevRI Jul 9, 2021
aa9f58c
Speculatively adjust gtest's UnitTest::AddTestPartResult() to not rel…
LebedevRI Jul 9, 2021
38c9a40
[TTI] Remove IsPairwiseForm from getArithmeticReductionCost
davemgreen Jul 9, 2021
9c5e656
[LoopDeletion] Handle switch in proving that loop exits on first iter…
xortator Jul 9, 2021
9dbeac1
[X86] ReplaceNodeResults - fp_to_sint/uint - manually widen v2i32 res…
RKSimon Jul 9, 2021
1440d45
Fix MSVC "not all control paths return a value" warning. NFCI.
RKSimon Jul 9, 2021
329f819
[NFC][Clang][CodegenOpenCL] Fix test not to rely on volatile store no…
LebedevRI Jul 9, 2021
52aeacf
Revert "Temporarily do not drop volatile stores before unreachable"
LebedevRI Jul 9, 2021
e479777
Revert "[ScalarEvolution] Fix overflow in computeBECount."
mstorsjo Jul 9, 2021
beb0e7e
[llvm-rc] Make commas in user data structs optional
mstorsjo Aug 1, 2020
3f7c9cc
[compiler-rt] Conceal UB in sanitizer_common/TestCases/Linux/signal_l…
LebedevRI Jul 9, 2021
9a01527
[compiler-rt] fuzzer: adjust tests to not expect that store to null t…
LebedevRI Jul 9, 2021
75e5f0a
[mlir] factor memref-to-llvm lowering out of std-to-llvm
ftynse Jul 8, 2021
4e332cd
Revert "Transform memset + malloc --> calloc (PR25892)"
LebedevRI Jul 9, 2021
ffccf96
[libc++][ci] Test Clang ToT by default, and add jobs on Clang 11 and 12
ldionne Jul 8, 2021
f551fb9
[Debug-info][InstrRef] Avoid an unnecessary map ordering
jmorse Jul 9, 2021
841077a
[AIX][XCOFF] Use bit order of has_vec and longtbtable bits as defined…
diggerlin Jul 9, 2021
5290048
[FPEnv][InstSimplify] Constrained FP support for NaN
kpneal Jul 8, 2021
5035e7b
[IR] Don't accept nullptr as GEP element type
nikic Jul 8, 2021
97c675d
Revert "Revert "Temporarily do not drop volatile stores before unreac…
nico Jul 9, 2021
42cc7f3
[AttrBuilder] Make handling of type attributes more generic (NFCI)
nikic Jul 8, 2021
d4df382
[mlir] don't drop undef initializers in translation to LLVM IR
ftynse Jul 8, 2021
c282d55
[mlir] add support for reductions in OpenMP WsLoopOp
ftynse Jul 8, 2021
b11d31e
[llvm-mca] Fix JSON format for multiple regions
Jul 9, 2021
0903113
Merge from 'main' to 'sycl-web' (#2)
abhinavgaba Jul 9, 2021
7a372c4
[libc++][ci] Keep the C++03 build job on Clang 12
ldionne Jul 9, 2021
84ed3a7
[IR] Don't mark mustprogress as type attribute
nikic Jul 9, 2021
28b2bb8
[AttrBuilder] Try to fix build
nikic Jul 9, 2021
d3915b2
Merge from 'sycl' to 'sycl-web' (#3)
Jul 9, 2021
e4f66a1
[OpaquePointers][CallPromotion] Don't look at pointee type for byval
aeubanks Jul 9, 2021
8ba09c4
Merge from 'main' to 'sycl-web' (#1)
abhinavgaba Jul 9, 2021
544f271
[SLP] make checks for cmp+select min/max more explicit
rotateright Jul 9, 2021
23dd750
Revert "[IR] Don't mark mustprogress as type attribute"
nikic Jul 9, 2021
486992f
[SLP] improve code comments; NFC
rotateright Jul 9, 2021
4e60132
[NFC][OpaquePtr] Use GlobalValue::getValueType() more
aeubanks Jul 9, 2021
0ac7532
m86k: adjust the usage of ArgInfo after change 9b057f647d70fc958d4a1a…
sylvestre Jul 9, 2021
f951735
[lldb] Add the ability to silently import scripted commands
JDevlieghere Jul 9, 2021
48de8bb
[llvm-cxxfilt] Switch command line parsing from llvm::cl to OptTable
MaskRay Jul 9, 2021
30cce54
[X86] Return src/dest register from stack spill/restore recogniser
jmorse Jul 9, 2021
0849427
[libcxx][nfc] Remove <variant>'s dependence on <array>.
zoecarver Jul 7, 2021
0e09a41
[libcxx][ranges] Add `ranges::transform_view`.
zoecarver Jul 9, 2021
214f63b
[gn build] Port 0e09a41b415b
llvmgnsyncbot Jul 9, 2021
47db32e
[llvm-size] Switch command line parsing from llvm::cl to OptTable
MaskRay Jul 9, 2021
9a7afae
[OpaquePtr][InferAddrSpace] Use PointerType::getWithSamePointeeType()
aeubanks Jul 9, 2021
a2860b8
[llvm-mca] Fix -Wunused-private-field after D105618
MaskRay Jul 9, 2021
bef5ed1
[AMDGPU][Docs] Update Code Object V3 example to includes args section
krzysz00 Jul 1, 2021
d564cfb
[NFC][compiler-rt][hwasan] Move __hwasan_tag_mismatch4 to hwasan.cpp
PiJoules Jul 8, 2021
89f778c
[NFC][compiler-rt][hwasan] Rename InitPrctl to InitializeOsSupport
PiJoules Jul 8, 2021
8b68aee
[NFC][compiler-rt][hwasan] Move TagMemoryAligned into hwasan_linux.cpp
PiJoules Jul 8, 2021
739f49e
[flang][driver] Fix how output filename is generated
banach-space Jul 7, 2021
a821df9
Revert "[IR] Don't accept nullptr as GEP element type"
sstamenova Jul 9, 2021
92dcb1d
[Clang] Introduce Swift async calling convention.
varungandhi-apple Jun 22, 2021
ff8b1b1
Reapply [IR] Don't mark mustprogress as type attribute
nikic Jul 9, 2021
768e3af
PR51034: Debug Info: Remove 'prototyped' from K&R function declarations
dwblaikie Jul 9, 2021
0813bd1
[Polly][Isl] Use isl::*::ctx instead of isl::*::get_ctx. NFC
patacca Jul 9, 2021
c476566
[IRForTarget] Don't pass nullptr to GetElementPtrInst::Create() (NFC)
nikic Jul 9, 2021
b00cff5
Reapply [IR] Don't accept nullptr as GEP element type
nikic Jul 8, 2021
b379ab4
[AMDGPU] Add VOP rematerialization test. NFC.
rampitec Jul 9, 2021
ecd15fb
[ARC][NFC] Include file re-ordering
graham-yiu Jul 7, 2021
5511bfd
[hwasan] More realistic setjmp test.
fmayer Jul 9, 2021
f8bef47
[libcxx][CI] Work around Arm buildkite failures
DavidSpickett Jul 9, 2021
c2b7f09
[SLP] make invalid operand explicit for extra arg in reduction matchi…
rotateright Jul 9, 2021
86e6523
[SLP] add tests for poison-safe logical reductions; NFC
rotateright Jul 9, 2021
55c5c04
[PhaseOrdering] add tests for vector cmp reductions; NFC
rotateright Jul 9, 2021
2e3f469
[IR] Add GEPOperator::indices() (NFC)
nikic Jul 9, 2021
488fcea
[lldb] Use custom script instead of lldb.macosx.crashlog in test
JDevlieghere Jul 9, 2021
4a3b055
[AMDGPU] Fix flags of V_MOV_B64_PSEUDO
rampitec Jul 9, 2021
ab8989a
[OPENMP]Fix overlapped mapping for dereferenced pointer members.
alexey-bataev Jul 7, 2021
3e97d11
[AMDGPU] Added v_accvgpr_read_b32 rematerialization test. NFC.
rampitec Jul 9, 2021
3338819
[lldb] Drop REQUIRES where redundant because of lit.local.cfg
JDevlieghere Jul 9, 2021
d124133
Add scoped timers to ReadMemoryFromInferior and ReadMemoryFromFileCache.
adrian-prantl Jul 9, 2021
9a9bc76
Prepare Compiler-RT for GnuInstallDirs, matching libcxx
Ericson2314 Apr 28, 2021
0562d17
PR51018: A few more explicit conversions from SmallString to StringRef
dwblaikie Jul 9, 2021
9647a6f
[WebAssembly] Added initial type checker to MC Assembler
aardappel Jun 7, 2021
47aeeff
[GlobalISel] Use GCDTy when extracting GCD ty from leftover regs in i…
Jul 8, 2021
ccb1026
[HIP] Move std headers after device malloc/free
aaronenyeshi Jul 8, 2021
156cb8d
[WebAssembly] fix broken tools/llvm-symbolizer/wasm-basic.s test
aardappel Jul 9, 2021
f3e6c3f
[WebAssembly] Fixed 2 warnings in Asm Type Checker
aardappel Jul 9, 2021
10cb036
[llvm-mca] Refactor the logic that prints JSON files.
adibiagio Jul 9, 2021
1a4d131
[llvm-nm][test] diff -q => diff to make AIX happy
MaskRay Jul 9, 2021
c82b96c
[gn build] fix formatting after 9647a6f719ee
nico Jul 9, 2021
5f306fe
[WebAssembly] Fix warnings
kazutakahirata Jul 9, 2021
49d66d9
[AFDO] Merge function attributes after inlining
kazutakahirata Jul 9, 2021
fc01faf
[MLIR][GPU][NFC] Fix documentation for wmma matrix load/store ops
bondhugula Jul 9, 2021
ac02baa
WebAssembly: Update datalayout to match fp128 ABI change
dschuff Jul 9, 2021
8e9216f
[SLP] Do not make an attempt to match reduction on already erased ins…
Jul 9, 2021
9c4baf5
[ScalarEvolution] Strictly enforce pointer/int type rules.
efriedma-quic Jun 23, 2021
db4c258
[scudo] Check if we use __clang_major__ >= 12
vitalybuka Jul 9, 2021
882ee7f
Fix buildbot regression from 9c4baf5.
efriedma-quic Jul 10, 2021
04c203e
llvm-symbolizer: Fix "start file" to work with Split DWARF
dwblaikie Jul 10, 2021
e522010
[WebAssembly] Custom combines for f64x2.promote_low_f32x4
tlively Jul 10, 2021
3822e3d
[lld-macho] Fix bug in handling unwind info from ld -r
oontvoo Jul 2, 2021
b8e5f91
[ORC] Flesh out ExecutorAddress, rename CommonOrcRuntimeTypes header.
lhames Jul 8, 2021
58a2cb5
[GlobalISel] Add a new artifact combiner for unmerge which looks thro…
aemerson May 24, 2021
1f40870
[NFC][ScalarEvolution] Precommit tests for D104075.
efriedma-quic Jul 10, 2021
97c4263
[AArch64][GlobalISel] Implement moreElements legalization for G_SHUFF…
aemerson Jul 10, 2021
8cf7ddb
Revert "Prepare Compiler-RT for GnuInstallDirs, matching libcxx"
mstorsjo Jul 10, 2021
41b6057
[InstructionCost] Add saturation support.
sdesmalen-arm Jul 10, 2021
239fcda
[LV] NFCI: Do cost comparison on InstructionCost directly.
sdesmalen-arm Jul 10, 2021
d919bca
[llvm-mca][JSON] Further refactoring of the JSON printing logic.
adibiagio Jul 10, 2021
4fe0fcd
[llvm-mca][JSON] Teach the PipelinePrinter how to deal with anonymous…
adibiagio Jul 10, 2021
a328ee6
[X86] Add tests from D93707 for fsub_strict(x,fneg(y)) -> fadd_strict…
RKSimon Jul 10, 2021
8f4e547
[AFDO] Require x86_64-linux in a testcase
kazutakahirata Jul 10, 2021
1d04563
[OpenMP] Avoid checking parent reference count in targetDataEnd
jdenny-ornl Jul 10, 2021
d99f65d
[OpenMP] Avoid checking parent reference count in targetDataBegin
jdenny-ornl Jul 10, 2021
f4f11ee
[mlir][NFC] Switched `interfaces` to a private member of SSANameState.
itaiz-google Jul 10, 2021
2c0f179
[mlir] Added OpPrintingFlags to AsmState and SSANameState.
itaiz-google Jul 10, 2021
ebbe149
[mlir] Gated calls to getAsm{Result,BlockArgument}Names on whether pr…
itaiz-google Jul 10, 2021
be5d46e
[Attributor][FIX] Traverse uses even if a value is assumed constant
jdoerfert May 8, 2021
93a279a
[Attributor] Introduce an optimistic getUnderlyingObjects helper
jdoerfert May 8, 2021
374e573
[Attributor] Use AAValueSimplify to simplify returned values
jdoerfert May 10, 2021
1eb31d6
[Attributor] Reorganize AAHeapToStack
jdoerfert Jun 25, 2021
5003ba2
[Attributor] Look through selects in genericValueTraversal
jdoerfert May 6, 2021
1d5711c
[OpenMP] Unified entry point for SPMD & generic kernels in the device…
jdoerfert Jun 17, 2021
f0628c6
[OpenMP] Create custom state machines for generic target regions
jdoerfert May 20, 2021
ae08df8
[Attributor][FIX] Do not replace a value with a non-dominating instru…
jdoerfert Jun 24, 2021
9663427
[Attributor][FIX] Sanitize queries to LVI and ScalarEvolution
jdoerfert Jun 24, 2021
e603ca0
[OpenMP] Remove checkXXXX device runtime functions
jdoerfert Jul 7, 2021
d39179d
[OpenMP] Detect SPMD compatible kernels and execute them as such
jdoerfert Jun 23, 2021
269416d
[Attributor][NFCI] Add UsedAssumedInformation to more interfaces
jdoerfert Jul 10, 2021
7685106
Revert "llvm-symbolizer: Fix "start file" to work with Split DWARF"
nico Jul 10, 2021
f01d45c
Reland "[clang-repl] Allow passing in code as positional arguments."
vgvassilev Jul 10, 2021
d3e7491
Revert Attributor patch series
nico Jul 10, 2021
5b12cf3
[Attributor][FIX] Traverse uses even if a value is assumed constant
jdoerfert May 8, 2021
0aab13a
[Attributor] Introduce an optimistic getUnderlyingObjects helper
jdoerfert May 8, 2021
5ef18e2
[Attributor] Use AAValueSimplify to simplify returned values
jdoerfert May 10, 2021
a647040
[ARM] Extra widening and narrowing combinations tests. NFC
davemgreen Jul 10, 2021
dbb3a65
[Attributor][FIX] Do not replace a value with a non-dominating instru…
jdoerfert Jun 24, 2021
c1c1fe9
[Attributor] Reorganize AAHeapToStack
jdoerfert Jun 25, 2021
5b05a5f
[OpenMP][FIX] Update remark in test file after rewording
jdoerfert Jul 10, 2021
c1d53a3
[Attributor] Look through selects in genericValueTraversal
jdoerfert May 6, 2021
4761d29
[Attributor][FIX] Sanitize queries to LVI and ScalarEvolution
jdoerfert Jun 24, 2021
e2cfbfc
[OpenMP] Unified entry point for SPMD & generic kernels in the device…
jdoerfert Jun 17, 2021
d9659bf
[OpenMP] Create custom state machines for generic target regions
jdoerfert May 20, 2021
a706b94
[OpenMP][NFCI] Re-enable two remarks tests after D101977 landed
jdoerfert Jul 10, 2021
0a22382
[OpenMP] Remove checkXXXX device runtime functions
jdoerfert Jul 7, 2021
8cb7d71
[OpenMP][FIX] Add missing `)` to remark
jdoerfert Jul 10, 2021
514c033
[OpenMP] Detect SPMD compatible kernels and execute them as such
jdoerfert Jun 23, 2021
f2a2505
Merge from 'sycl' to 'sycl-web'
Jul 10, 2021
2e7e299
[Attributor][FIX] Destroy bump allocator objects to avoid leaks
jdoerfert Jul 10, 2021
86109fa
[RISCV] Add test cases for div/rem with constant left hand side. NFC
topperc Jul 11, 2021
4f94121
[Analysis] Remove changeCondBranchToUnconditionalTo (NFC)
kazutakahirata Jul 11, 2021
9299c50
Merge from 'main' to 'sycl-web' (#1)
abhinavgaba Jul 11, 2021
99b8c46
[RISCV] Restore non-constant srem test I accidentally deleted. NFC
topperc Jul 11, 2021
cbba729
[DivRemPairs] Add test cases for D87555. NFC
topperc Jul 11, 2021
b447b9d
Reapply "llvm-symbolizer: Fix "start file" to work with Split DWARF"
dwblaikie Jul 11, 2021
09cdcf0
Fix windows directory separator some more for test from b447b9dce0d10…
dwblaikie Jul 11, 2021
1a5f4cb
[InstCombine] Add optimization to prevent poison from being propagated.
hyeongyukim Jul 11, 2021
d5c0b9c
[lld-macho][nfc] Expand the compact unwind symbol reloc test
int3 Jul 11, 2021
1e1f752
sanitizer_common: split LibIgnore into fast/slow paths
dvyukov Jul 9, 2021
8df3c7d
sanitizer_common: sanitize time functions
dvyukov Jul 9, 2021
6775fc6
[clang-repl] Implement partial translation units and error recovery.
vgvassilev May 12, 2021
8e489b4
sanitizer_common: add simpler ThreadRegistry ctor
dvyukov Jul 9, 2021
03a3f86
[lldb] Fix compilation by adjusting to the new ASTContext signature.
vgvassilev Jul 11, 2021
6062c67
sanitizer_common: unbreak ThreadRegistry tests
dvyukov Jul 11, 2021
ff2eda8
Merge from 'sycl' to 'sycl-web'
Jul 11, 2021
dc0bbc9
[IfCvt] Don't use pristine register for counting liveins for predicat…
davemgreen Jul 11, 2021
ee8da63
[Analysis] Remove unused declaration isPotentiallyReachableFromMany (…
kazutakahirata Jul 11, 2021
5922f23
Revert "[clang-repl] Implement partial translation units and error re…
vgvassilev Jul 11, 2021
98c2e41
[ARM] Add lowering of uadd_sat to uq{add|sub}8 and uq{add|sub}16
therealprof Jul 11, 2021
10e28a7
[lld/mac] Use normal Undefined machinery for dyld_stub_binder lookup
nico Jul 11, 2021
de32a08
Merge from 'main' to 'sycl-web' (#2)
abhinavgaba Jul 11, 2021
e38b7e8
[DivRemPairs] Add an initial case for hoisting to a common predecessor.
topperc Jul 11, 2021
1410aab
[RISCV] Remove stale FIXME from a test. NFC
topperc Jul 11, 2021
6e05c1c
[lld/mac] Always reference dyld_stub_binder when linked with libSystem
nico Jul 11, 2021
c10947b
[lld/mac] Unbreak objc.s after 6e05c1cd5f98
nico Jul 11, 2021
6a8b989
Merge from 'main' to 'sycl-web' (#6)
abhinavgaba Jul 11, 2021
6644a61
[RISCV] Add tests for suboptimal handling of negative constants on th…
topperc Jul 11, 2021
f0393de
[RISCV] Add tests for suboptimal handling of negative constants for i…
topperc Jul 11, 2021
c6e4c1f
[VPlan] Remove default arg from getVPValue (NFC).
fhahn Jul 11, 2021
f6e84a8
[lld-macho][nfc] Avoid using std::map for PlatformKinds
int3 Jul 11, 2021
28a2102
[lld-macho][nfc] Remove unnecessary llvm:: namespace prefixes
int3 Jul 11, 2021
11a0d23
[lld-macho][nfc] clang-format
int3 Jul 11, 2021
6144085
[IndVars] Don't widen pointers in WidenIV::getWideRecurrence
efriedma-quic Jul 12, 2021
792aac9
[Attributor][NFCI] Add UsedAssumedInformation to more interfaces
jdoerfert Jul 10, 2021
1ab1f04
[OpenMP] Simplify variable sharing and increase shared memory size
jdoerfert Jul 11, 2021
a7b7b5d
[OpenMP] Create and use `__kmpc_is_generic_main_thread`
jdoerfert Jul 1, 2021
0fb2990
[lld-macho][nfc] Fix YAML input in compact-unwind-sym-relocs.s
int3 Jul 12, 2021
6ebeb7f
[llvm][Inliner] Templatize PriorityInlineOrder
taoliq Jul 12, 2021
5e6aabd
Support AArch64/Linux watchpoint on tagged addresses
omjavaid Jul 12, 2021
51cbe4e
[mlir] Fix broadcasting check with 1 values
jpienaar Jul 12, 2021
7c7447e
[LLDB] Only build TestWatchTaggedAddress.py on aarch64 PAC targets
omjavaid Jul 12, 2021
5750352
[AArch64] De-capitalize some Emit* functions
MaskRay Jul 12, 2021
04f8ffd
[llvm-exegesis] Fix compilation with old libpfm versions.
legrosbuffle Jul 8, 2021
d3e14fa
[analyzer][NFC] Display the correct function name even in crash dumps
Jul 12, 2021
99718d5
[X86][SSE] Add signbit tests to show cmpss/cmpsd ops not recognised a…
RKSimon Jul 12, 2021
e4aa6ad
[X86][SSE] X86ISD::FSETCC nodes (cmpss/cmpsd) return a 0/-1 allbits s…
RKSimon Jul 12, 2021
d2e4ccc
[LV] Ignore candidate VFs with invalid costs.
sdesmalen-arm Jul 12, 2021
26e59cc
[mlir] factor math-to-llvm out of standard-to-llvm
ftynse Jul 9, 2021
10f5e08
[LLDB] Testsuite: Add helper to check for AArch64 target
omjavaid Jul 12, 2021
41ba96f
sanitizer_common: rename Mutex to MutexState
dvyukov Jul 11, 2021
0da172b
sanitizer_common: add thread safety annotations
dvyukov Jul 9, 2021
41ce5ec
[PowerPC] Remove unnecessary 64-bit guards from altivec.h
nemanjai Jul 12, 2021
fedbff7
[OpenMP][OMPT] Fix compile-time assertion in ompt-multiplex.h
jprotze Jul 12, 2021
c305557
[llvm][sve] Lowering for VLS truncating stores
DavidTruby Jul 12, 2021
326b005
sanitizer_common: use 0 for empty stack id
dvyukov Jul 11, 2021
6b16683
[mlir][Linalg] Improve comprehensive bufferization for scf.yield.
nicolasvasilache Jul 12, 2021
00fbce9
Merge commit '6b1668397fd33440847f5a82675c5b83c4137018' into llvmspir…
vmaksimo Jul 12, 2021
eacf92e
Implemented SPV_INTEL_runtime_aligned extension
Jul 1, 2021
9d27131
Fix using of deprecated CreateInBounds
KornevNikita Jul 5, 2021
04cc902
Apply suggestion
KornevNikita Jul 5, 2021
c748805
Implement SPV_INTEL_arithmetic_fence
KornevNikita Jul 6, 2021
994373d
Remove switch on opcode by inheriting from SPIRVInstTemplateBase
svenvh Jun 15, 2021
22233fa
Remove unnecessary switch case for OpSelect
svenvh Jun 30, 2021
790c64b
Improve handling of memmove when Lenght > size of the type to move
MrSidims Jun 22, 2021
496722a
Migrate arithmetic fence tokens to spirv_internal.hpp
Jul 7, 2021
803123f
Revert "[RFC] Improve code for IVDep backwards translation"
Jul 7, 2021
6f23e98
Add support for SPV_INTEL_bfloat16_conversion extension
mlychkov Jul 6, 2021
f381bde
Change SPIRVInstTemplate creation order
svenvh Jun 25, 2021
a7bf89f
Add SPV_KHR_integer_dot_product support
svenvh Jun 28, 2021
b93c154
Report disallowed extension as error instead of assert
svenvh Jul 2, 2021
ec7b002
Update for LLVM GEP API change
svenvh Jul 12, 2021
8cc1c7f
[OpenMP] Align test with OldPM behavior
vmaksimo Jul 13, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions clang-tools-extra/clang-doc/HTMLGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,8 @@ genHTML(const Index &Index, StringRef InfoPath, bool IsOutermostList) {
if (!Index.JumpToSection)
SpanBody->Children.emplace_back(genReference(Index, InfoPath));
else
SpanBody->Children.emplace_back(genReference(
Index, InfoPath, StringRef{Index.JumpToSection.getValue()}));
SpanBody->Children.emplace_back(
genReference(Index, InfoPath, Index.JumpToSection.getValue().str()));
}
if (Index.Children.empty())
return Out;
Expand Down
4 changes: 2 additions & 2 deletions clang-tools-extra/clangd/JSONTransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ bool JSONTransport::readStandardMessage(std::string &JSON) {
return false;
InMirror << Line;

llvm::StringRef LineRef(Line);
llvm::StringRef LineRef = Line;

// We allow comments in headers. Technically this isn't part

Expand Down Expand Up @@ -298,7 +298,7 @@ bool JSONTransport::readDelimitedMessage(std::string &JSON) {
llvm::SmallString<128> Line;
while (readLine(In, Line)) {
InMirror << Line;
auto LineRef = llvm::StringRef(Line).trim();
auto LineRef = Line.str().trim();
if (LineRef.startswith("#")) // comment
continue;

Expand Down
3 changes: 1 addition & 2 deletions clang-tools-extra/clangd/QueryDriverDatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ extractSystemIncludesAndTarget(llvm::SmallString<128> Driver,
auto CleanUp = llvm::make_scope_exit(
[&StdErrPath]() { llvm::sys::fs::remove(StdErrPath); });

llvm::Optional<llvm::StringRef> Redirects[] = {
{""}, {""}, llvm::StringRef(StdErrPath)};
llvm::Optional<llvm::StringRef> Redirects[] = {{""}, {""}, StdErrPath.str()};

llvm::SmallVector<llvm::StringRef> Args = {Driver, "-E", "-x",
Lang, "-", "-v"};
Expand Down
3 changes: 1 addition & 2 deletions clang-tools-extra/clangd/Selection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,7 @@ llvm::SmallString<256> abbreviatedString(DynTypedNode N,
}
auto Pos = Result.find('\n');
if (Pos != llvm::StringRef::npos) {
bool MoreText =
!llvm::all_of(llvm::StringRef(Result).drop_front(Pos), llvm::isSpace);
bool MoreText = !llvm::all_of(Result.str().drop_front(Pos), llvm::isSpace);
Result.resize(Pos);
if (MoreText)
Result.append(" …");
Expand Down
5 changes: 0 additions & 5 deletions clang-tools-extra/clangd/index/dex/Dex.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ namespace clangd {
namespace dex {

/// In-memory Dex trigram-based index implementation.
// FIXME(kbobyrev): Introduce serialization and deserialization of the symbol
// index so that it can be loaded from the disk. Since static index is not
// changed frequently, it's safe to assume that it has to be built only once
// (when the clangd process starts). Therefore, it can be easier to store built
// index on disk and then load it if available.
class Dex : public SymbolIndex {
public:
// All data must outlive this index.
Expand Down
7 changes: 5 additions & 2 deletions clang-tools-extra/clangd/support/Threading.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "llvm/ADT/ScopeExit.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/Threading.h"
#include "llvm/Support/thread.h"
#include <atomic>
#include <thread>
#ifdef __USE_POSIX
Expand Down Expand Up @@ -95,8 +96,10 @@ void AsyncTaskRunner::runAsync(const llvm::Twine &Name,
};

// Ensure our worker threads have big enough stacks to run clang.
llvm::llvm_execute_on_thread_async(std::move(Task),
/*clang::DesiredStackSize*/ 8 << 20);
llvm::thread Thread(
/*clang::DesiredStackSize*/ llvm::Optional<unsigned>(8 << 20),
std::move(Task));
Thread.detach();
}

Deadline timeoutSeconds(llvm::Optional<double> Seconds) {
Expand Down
25 changes: 23 additions & 2 deletions clang/docs/AddressSanitizer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ following types of bugs:

* Out-of-bounds accesses to heap, stack and globals
* Use-after-free
* Use-after-return (runtime flag `ASAN_OPTIONS=detect_stack_use_after_return=1`)
* Use-after-scope (clang flag `-fsanitize-address-use-after-scope`)
* Use-after-return (clang flag ``-fsanitize-address-use-after-return=(never|runtime|always)`` default: ``runtime``)
* Enable ``runtime`` with: ``ASAN_OPTIONS=detect_stack_use_after_return=1``
* Use-after-scope (clang flag ``-fsanitize-address-use-after-scope``)
* Double-free, invalid free
* Memory leaks (experimental)

Expand Down Expand Up @@ -136,6 +137,26 @@ you should set environment variable

Note that this option is not supported on macOS.

Stack Use After Return (UAR)
----------------------------

AddressSanitizer can optionally detect stack use after return problems.
This is available by default, or explicitly
(``-fsanitize-address-use-after-return=runtime``).
To enable this check at runtime, set the environment variable
``ASAN_OPTIONS=detect_stack_use_after_return=1``.

Enabling this check (``-fsanitize-address-use-after-return=always``) will
reduce code size. The code size may be reduced further by completely
eliminating this check (``-fsanitize-address-use-after-return=never``).

To summarize: ``-fsanitize-address-use-after-return=<mode>``
* ``never``: Completely disables detection of UAR errors (reduces code size).
* ``runtime``: Adds the code for detection, but must be enabled via the
runtime environment (``ASAN_OPTIONS=detect_stack_use_after_return=1``).
* ``always``: Enables detection of UAR errors in all cases. (reduces code
size, but not as much as ``never``).

Memory leak detection
---------------------

Expand Down
38 changes: 38 additions & 0 deletions clang/docs/DataFlowSanitizer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,44 @@ the correct labels are propagated.
return 0;
}

Origin Tracking
===============

DataFlowSanitizer can track origins of labeled values. This feature is enabled by
``-mllvm -dfsan-track-origins=1``. For example,

.. code-block:: console

% cat test.cc
#include <sanitizer/dfsan_interface.h>
#include <stdio.h>

int main(int argc, char** argv) {
int i = 0;
dfsan_set_label(i_label, &i, sizeof(i));
int j = i + 1;
dfsan_print_origin_trace(&j, "A flow from i to j");
return 0;
}

% clang++ -fsanitize=dataflow -mllvm -dfsan-track-origins=1 -fno-omit-frame-pointer -g -O2 test.cc
% ./a.out
Taint value 0x1 (at 0x7ffd42bf415c) origin tracking (A flow from i to j)
Origin value: 0x13900001, Taint value was stored to memory at
#0 0x55676db85a62 in main test.cc:7:7
#1 0x7f0083611bbc in __libc_start_main libc-start.c:285

Origin value: 0x9e00001, Taint value was created at
#0 0x55676db85a08 in main test.cc:6:3
#1 0x7f0083611bbc in __libc_start_main libc-start.c:285

By ``-mllvm -dfsan-track-origins=1`` DataFlowSanitizer collects only
intermediate stores a labeled value went through. Origin tracking slows down
program execution by a factor of 2x on top of the usual DataFlowSanitizer
slowdown and increases memory overhead by 1x. By ``-mllvm -dfsan-track-origins=2``
DataFlowSanitizer also collects intermediate loads a labeled value went through.
This mode slows down program execution by a factor of 4x.

Current status
==============

Expand Down
7 changes: 5 additions & 2 deletions clang/docs/LibASTMatchersTutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,12 @@ CMakeLists.txt should have the following contents:
)
target_link_libraries(loop-convert
PRIVATE
clangTooling
clangBasic
clangAST
clangASTMatchers
clangBasic
clangFrontend
clangSerialization
clangTooling
)

With that done, Ninja will be able to compile our tool. Let's give it
Expand Down
2 changes: 2 additions & 0 deletions clang/docs/UsersManual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3744,6 +3744,8 @@ Execute ``clang-cl /?`` to see a list of supported options:
Enable linker dead stripping of globals in AddressSanitizer
-fsanitize-address-poison-custom-array-cookie
Enable poisoning array cookies when using custom operator new[] in AddressSanitizer
-fsanitize-address-use-after-return=<mode>
Select the mode of detecting stack use-after-return in AddressSanitizer: never | runtime (default) | always
-fsanitize-address-use-after-scope
Enable use-after-scope detection in AddressSanitizer
-fsanitize-address-use-odr-indicator
Expand Down
3 changes: 2 additions & 1 deletion clang/include/clang-c/Index.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* compatible, thus CINDEX_VERSION_MAJOR is expected to remain stable.
*/
#define CINDEX_VERSION_MAJOR 0
#define CINDEX_VERSION_MINOR 61
#define CINDEX_VERSION_MINOR 62

#define CINDEX_VERSION_ENCODE(major, minor) (((major)*10000) + ((minor)*1))

Expand Down Expand Up @@ -3432,6 +3432,7 @@ enum CXCallingConv {
CXCallingConv_PreserveMost = 14,
CXCallingConv_PreserveAll = 15,
CXCallingConv_AArch64VectorCall = 16,
CXCallingConv_SwiftAsync = 17,

CXCallingConv_Invalid = 100,
CXCallingConv_Unexposed = 200
Expand Down
3 changes: 3 additions & 0 deletions clang/include/clang/AST/Decl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1495,6 +1495,9 @@ class VarDecl : public DeclaratorDecl, public Redeclarable<VarDecl> {
NonParmVarDeclBits.EscapingByref = true;
}

/// Determines if this variable's alignment is dependent.
bool hasDependentAlignment() const;

/// Retrieve the variable declaration from which this variable could
/// be instantiated, if it is an instantiation (rather than a non-template).
VarDecl *getTemplateInstantiationPattern() const;
Expand Down
2 changes: 2 additions & 0 deletions clang/include/clang/Analysis/AnalysisDeclContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ class AnalysisDeclContext {
/// \returns Whether the root namespace of \p D is the \c std C++ namespace.
static bool isInStdNamespace(const Decl *D);

static std::string getFunctionName(const Decl *D);

private:
std::unique_ptr<ManagedAnalysis> &getAnalysisImpl(const void *tag);

Expand Down
5 changes: 5 additions & 0 deletions clang/include/clang/Basic/Attr.td
Original file line number Diff line number Diff line change
Expand Up @@ -3111,6 +3111,11 @@ def SwiftCall : DeclOrTypeAttr {
let Documentation = [SwiftCallDocs];
}

def SwiftAsyncCall : DeclOrTypeAttr {
let Spellings = [Clang<"swiftasynccall">];
let Documentation = [SwiftAsyncCallDocs];
}

def SwiftContext : ParameterABIAttr {
let Spellings = [Clang<"swift_context">];
let Documentation = [SwiftContextDocs];
Expand Down
39 changes: 33 additions & 6 deletions clang/include/clang/Basic/AttrDocs.td
Original file line number Diff line number Diff line change
Expand Up @@ -5814,7 +5814,8 @@ def SwiftContextDocs : Documentation {
let Category = DocCatVariable;
let Content = [{
The ``swift_context`` attribute marks a parameter of a ``swiftcall``
function as having the special context-parameter ABI treatment.
or ``swiftasynccall`` function as having the special context-parameter
ABI treatment.

This treatment generally passes the context value in a special register
which is normally callee-preserved.
Expand All @@ -5827,14 +5828,39 @@ A context parameter must have pointer or reference type.
}];
}

def SwiftAsyncCallDocs : Documentation {
let Category = DocCatVariable;
let Content = [{
The ``swiftasynccall`` attribute indicates that a function is
compatible with the low-level conventions of Swift async functions,
provided it declares the right formal arguments.

In most respects, this is similar to the ``swiftcall`` attribute, except for
the following:
- A parameter may be marked ``swift_async_context``, ``swift_context``
or ``swift_indirect_result`` (with the same restrictions on parameter
ordering as ``swiftcall``) but the parameter attribute
``swift_error_result`` is not permitted.
- A ``swiftasynccall`` function must have return type ``void``.
- Within a ``swiftasynccall`` function, a call to a ``swiftasynccall``
function that is the immediate operand of a ``return`` statement is
guaranteed to be performed as a tail call. This syntax is allowed even
in C as an extension (a call to a void-returning function cannot be a
return operand in standard C). If something in the calling function would
semantically be performed after a guaranteed tail call, such as the
non-trivial destruction of a local variable or temporary,
then the program is ill-formed.
}];
}

def SwiftAsyncContextDocs : Documentation {
let Category = DocCatVariable;
let Content = [{
The ``swift_async_context`` attribute marks a parameter as having the
special asynchronous context-parameter ABI treatment.
The ``swift_async_context`` attribute marks a parameter of a ``swiftasynccall``
function as having the special asynchronous context-parameter ABI treatment.

This treatment generally passes the context value in a special register
which is normally callee-preserved.
If the function is not ``swiftasynccall``, this attribute only generates
extended frame information.

A context parameter must have pointer or reference type.
}];
Expand Down Expand Up @@ -5879,7 +5905,8 @@ def SwiftIndirectResultDocs : Documentation {
let Category = DocCatVariable;
let Content = [{
The ``swift_indirect_result`` attribute marks a parameter of a ``swiftcall``
function as having the special indirect-result ABI treatment.
or ``swiftasynccall`` function as having the special indirect-result ABI
treatment.

This treatment gives the parameter the target's normal indirect-result
ABI treatment, which may involve passing it differently from an ordinary
Expand Down
4 changes: 4 additions & 0 deletions clang/include/clang/Basic/BuiltinsPPC.def
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ BUILTIN(__builtin_ppc_fetch_and_or, "UiUiD*Ui", "")
BUILTIN(__builtin_ppc_fetch_and_orlp, "ULiULiD*ULi", "")
BUILTIN(__builtin_ppc_fetch_and_swap, "UiUiD*Ui", "")
BUILTIN(__builtin_ppc_fetch_and_swaplp, "ULiULiD*ULi", "")
BUILTIN(__builtin_ppc_ldarx, "LiLiD*", "")
BUILTIN(__builtin_ppc_lwarx, "iiD*", "")
BUILTIN(__builtin_ppc_stdcx, "iLiD*Li", "")
BUILTIN(__builtin_ppc_stwcx, "iiD*i", "")

BUILTIN(__builtin_ppc_get_timebase, "ULLi", "n")

Expand Down
1 change: 0 additions & 1 deletion clang/include/clang/Basic/BuiltinsWebAssembly.def
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ TARGET_BUILTIN(__builtin_wasm_narrow_u_i16x8_i32x4, "V8UsV4iV4i", "nc", "simd128
TARGET_BUILTIN(__builtin_wasm_trunc_sat_zero_s_f64x2_i32x4, "V4iV2d", "nc", "simd128")
TARGET_BUILTIN(__builtin_wasm_trunc_sat_zero_u_f64x2_i32x4, "V4UiV2d", "nc", "simd128")
TARGET_BUILTIN(__builtin_wasm_demote_zero_f64x2_f32x4, "V4fV2d", "nc", "simd128")
TARGET_BUILTIN(__builtin_wasm_promote_low_f32x4_f64x2, "V2dV4f", "nc", "simd128")

TARGET_BUILTIN(__builtin_wasm_load32_zero, "V4iiC*", "n", "simd128")
TARGET_BUILTIN(__builtin_wasm_load64_zero, "V2LLiLLiC*", "n", "simd128")
Expand Down
3 changes: 2 additions & 1 deletion clang/include/clang/Basic/DiagnosticSemaKinds.td
Original file line number Diff line number Diff line change
Expand Up @@ -3193,7 +3193,8 @@ def warn_nsdictionary_duplicate_key : Warning<
def note_nsdictionary_duplicate_key_here : Note<
"previous equal key is here">;
def err_swift_param_attr_not_swiftcall : Error<
"'%0' parameter can only be used with swiftcall calling convention">;
"'%0' parameter can only be used with swiftcall%select{ or swiftasynccall|}1 "
"calling convention%select{|s}1">;
def err_swift_indirect_result_not_first : Error<
"'swift_indirect_result' parameters must be first parameters of function">;
def err_swift_error_result_not_after_swift_context : Error<
Expand Down
3 changes: 3 additions & 0 deletions clang/include/clang/Basic/Features.def
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ FEATURE(memory_sanitizer,
FEATURE(thread_sanitizer, LangOpts.Sanitize.has(SanitizerKind::Thread))
FEATURE(dataflow_sanitizer, LangOpts.Sanitize.has(SanitizerKind::DataFlow))
FEATURE(scudo, LangOpts.Sanitize.hasOneOf(SanitizerKind::Scudo))
FEATURE(swiftasynccc,
PP.getTargetInfo().checkCallingConvention(CC_SwiftAsync) ==
clang::TargetInfo::CCCR_OK)
// Objective-C features
FEATURE(objc_arr, LangOpts.ObjCAutoRefCount) // FIXME: REMOVE?
FEATURE(objc_arc, LangOpts.ObjCAutoRefCount)
Expand Down
2 changes: 1 addition & 1 deletion clang/include/clang/Basic/IdentifierTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ using IdentifierLocPair = std::pair<IdentifierInfo *, SourceLocation>;
/// of a pointer to one of these classes.
enum { IdentifierInfoAlignment = 8 };

static constexpr int ObjCOrBuiltinIDBits = 15;
static constexpr int ObjCOrBuiltinIDBits = 16;

/// One of these records is kept for each identifier that
/// is lexed. This contains information about whether the token was \#define'd,
Expand Down
1 change: 1 addition & 0 deletions clang/include/clang/Basic/LangOptions.def
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ BENIGN_LANGOPT(ModulesDebugInfo , 1, 0, "Modules debug info")
BENIGN_LANGOPT(ElideConstructors , 1, 1, "C++ copy constructor elision")
BENIGN_LANGOPT(DumpRecordLayouts , 1, 0, "dumping the layout of IRgen'd records")
BENIGN_LANGOPT(DumpRecordLayoutsSimple , 1, 0, "dumping the layout of IRgen'd records in a simple form")
BENIGN_LANGOPT(DumpRecordLayoutsCanonical , 1, 0, "dumping the AST layout of records using canonical field types")
BENIGN_LANGOPT(DumpRecordLayoutsComplete , 1, 0, "dumping the AST layout of all complete records")
BENIGN_LANGOPT(DumpVTableLayouts , 1, 0, "dumping the layouts of emitted vtables")
LANGOPT(NoConstantCFStrings , 1, 0, "no constant CoreFoundation strings")
Expand Down
2 changes: 2 additions & 0 deletions clang/include/clang/Basic/Specifiers.h
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ namespace clang {
CC_SpirFunction, // default for OpenCL functions on SPIR target
CC_OpenCLKernel, // inferred for OpenCL kernels
CC_Swift, // __attribute__((swiftcall))
CC_SwiftAsync, // __attribute__((swiftasynccall))
CC_PreserveMost, // __attribute__((preserve_most))
CC_PreserveAll, // __attribute__((preserve_all))
CC_AArch64VectorCall, // __attribute__((aarch64_vector_pcs))
Expand All @@ -284,6 +285,7 @@ namespace clang {
case CC_SpirFunction:
case CC_OpenCLKernel:
case CC_Swift:
case CC_SwiftAsync:
return false;
default:
return true;
Expand Down
Loading