[clang] 6f4c3c0 - [InstrProf][attempt 2] Add new format for -fprofile-list=

2022-08-04 Thread Ellis Hoag via cfe-commits
Author: Ellis Hoag Date: 2022-08-04T17:12:56-07:00 New Revision: 6f4c3c0f6463880b685bfbca1932c06fd0c1f015 URL: https://github.com/llvm/llvm-project/commit/6f4c3c0f6463880b685bfbca1932c06fd0c1f015 DIFF: https://github.com/llvm/llvm-project/commit/6f4c3c0f6463880b685bfbca1932c06fd0c1f015.diff LO

[PATCH] D131195: [InstrProf][attempt 2] Add new format for -fprofile-list=

2022-08-04 Thread Ellis Hoag via Phabricator via cfe-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit rG6f4c3c0f6463: [InstrProf][attempt 2] Add new format for -fprofile-list= (authored by ellis). Repository: rG LLVM Github

[PATCH] D131217: [clang][WebAssembly] Pass `-Wl,-no-type-check` through to the MC layer

2022-08-04 Thread Fangrui Song via Phabricator via cfe-commits
MaskRay added a comment. Test? And we should not have `llvm::dbgs() << "Main " << Opts.NoTypeCheck << "\n";` by default. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D131217/new/ https://reviews.llvm.org/D131217 _

[PATCH] D131217: [clang][WebAssembly] Pass `-Wl,-no-type-check` through to the MC layer

2022-08-04 Thread Sam Clegg via Phabricator via cfe-commits
sbc100 added a comment. In D131217#3701363 , @MaskRay wrote: > Test? > > And we should not have `llvm::dbgs() << "Main " << Opts.NoTypeCheck << "\n";` > by default. Sorry, as as said above "Work in progress -- still needs a test." Repository: rG LLV

[PATCH] D130516: [llvm] compression classes

2022-08-04 Thread Leonard Chan via Phabricator via cfe-commits
leonardchan added inline comments. Comment at: clang-tools-extra/clangd/index/Serialization.cpp:255-256 +} else + return error("Compressed string table, but " + + (CompressionScheme->Name + " is unavailable").str()); + } nit: I think `

[PATCH] D131217: [WIP][clang][WebAssembly] Pass `-Wl, -no-type-check` through to the MC layer

2022-08-04 Thread Sam Clegg via Phabricator via cfe-commits
sbc100 updated this revision to Diff 450196. sbc100 added a comment. - remove debugging Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D131217/new/ https://reviews.llvm.org/D131217 Files: clang/include/clang/Basic/CodeGenOptions.def clang/includ

[PATCH] D131225: Driver: Refactor and support per target dirs in baremetal

2022-08-04 Thread Manoj Gupta via Phabricator via cfe-commits
manojgupta created this revision. manojgupta added reviewers: MaskRay, abidh, kristof.beyls. Herald added subscribers: luke957, StephenFan, s.egerton, simoncook, ki.stfu. Herald added a project: All. manojgupta requested review of this revision. Herald added subscribers: cfe-commits, pcwang-thead.

[PATCH] D124752: [HLSL] clang codeGen for HLSLShaderAttr.

2022-08-04 Thread Xiang Li via Phabricator via cfe-commits
python3kgae updated this revision to Diff 450199. python3kgae added a comment. Rebase to upstream. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D124752/new/ https://reviews.llvm.org/D124752 Files: clang/lib/AST/Mangle.cpp clang/lib/CodeGen/CGH

[PATCH] D124435: [X86] Always extend the integer parameters in callee

2022-08-04 Thread John McCall via Phabricator via cfe-commits
rjmccall added a comment. In D124435#3701163 , @jyknight wrote: > In D124435#3697259 , @rjmccall > wrote: > >> I know what you're saying, but I don't think it matches any model of how >> programmers use command

[PATCH] D130058: [Clang] Diagnose ill-formed constant expression when setting a non fixed enum to a value outside the range of the enumeration values

2022-08-04 Thread Shoaib Meenai via Phabricator via cfe-commits
smeenai added a comment. In D130058#3698213 , @shafik wrote: >> Given that we have a non-obvious (at least to me) issue in a widely used >> third-party library, would we consider giving users some way to opt out of >> this error, at least as a transitio

[PATCH] D131062: [docs] Add "C++20 Modules"

2022-08-04 Thread Chuanqi Xu via Phabricator via cfe-commits
ChuanqiXu added a comment. In D131062#3699341 , @h-vetinari wrote: > Aside from a couple typos, I was wondering if it would be welcome to do a > pass w.r.t stylistic improvements (e.g. "Modules have a lot of meanings." --> > "The term 'modules' has a l

[PATCH] D131172: [clang][llvm][doc] Add more information for the ABI change in FP16

2022-08-04 Thread Phoebe Wang via Phabricator via cfe-commits
pengfei closed this revision. pengfei added a comment. In D131172#3699950 , @tstellar wrote: > @pengfei You can commit this directly to the release/15.x branch whenever you > are ready. I see. Done. Thanks all! Repository: rG LLVM Github Monorepo C

[PATCH] D130058: [Clang] Diagnose ill-formed constant expression when setting a non fixed enum to a value outside the range of the enumeration values

2022-08-04 Thread Shafik Yaghmour via Phabricator via cfe-commits
shafik added a comment. In D130058#3701485 , @smeenai wrote: > In D130058#3698213 , @shafik wrote: > >>> Given that we have a non-obvious (at least to me) issue in a widely used >>> third-party library, would we

[PATCH] D130964: [X86][BF16] Enable __bf16 for x86 targets.

2022-08-04 Thread Phoebe Wang via Phabricator via cfe-commits
pengfei accepted this revision. pengfei added a comment. This revision is now accepted and ready to land. LGTM. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D130964/new/ https://reviews.llvm.org/D130964

[libunwind] fc6a6ee - [libunwind] undef NDEBUG for assert.h in tests.

2022-08-04 Thread Florian Mayer via cfe-commits
Author: Florian Mayer Date: 2022-08-04T19:55:40-07:00 New Revision: fc6a6ee507ec2df0df7d34ba19feccb776297e4c URL: https://github.com/llvm/llvm-project/commit/fc6a6ee507ec2df0df7d34ba19feccb776297e4c DIFF: https://github.com/llvm/llvm-project/commit/fc6a6ee507ec2df0df7d34ba19feccb776297e4c.diff

[PATCH] D129824: [RISCV] Set triple based on -march flag which can be deduced in more generic way

2022-08-04 Thread Wang Pengcheng via Phabricator via cfe-commits
pcwang-thead added a comment. In D129824#3699911 , @kito-cheng wrote: > Just realized the problem is trying to fixed the default value of `-mabi=`, > currently `clang -target riscv32-elf -march=rv64gc > -mabi=lp64d`/`riscv32-elf-clang -march=rv64gc -ma

[PATCH] D124752: [HLSL] clang codeGen for HLSLShaderAttr.

2022-08-04 Thread Xiang Li via Phabricator via cfe-commits
python3kgae updated this revision to Diff 450217. python3kgae added a comment. Add -fcgl to make test work without DirectX backend. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D124752/new/ https://reviews.llvm.org/D124752 Files: clang/lib/AST/M

[clang] 906e41f - [HLSL] clang codeGen for HLSLShaderAttr.

2022-08-04 Thread Xiang Li via cfe-commits
Author: Xiang Li Date: 2022-08-04T21:23:57-07:00 New Revision: 906e41f4e34d32c257e0c0c9ce1b56070ba11960 URL: https://github.com/llvm/llvm-project/commit/906e41f4e34d32c257e0c0c9ce1b56070ba11960 DIFF: https://github.com/llvm/llvm-project/commit/906e41f4e34d32c257e0c0c9ce1b56070ba11960.diff LOG:

[PATCH] D124752: [HLSL] clang codeGen for HLSLShaderAttr.

2022-08-04 Thread Xiang Li via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG906e41f4e34d: [HLSL] clang codeGen for HLSLShaderAttr. (authored by python3kgae). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D124752/new/ https://reviews.

RE: [clang] 73b62f8 - Fix parsing of comma fold-expressions as the operand of a C-style cast.

2022-08-04 Thread Yaghmour, Shafik via cfe-commits
Richard, it looks like this will also fix: https://github.com/llvm/llvm-project/issues/56864 -Original Message- From: cfe-commits On Behalf Of Richard Smith via cfe-commits Sent: Thursday, August 4, 2022 5:08 PM To: cfe-commits@lists.llvm.org Subject: [clang] 73b62f8 - Fix parsing of c

[clang] 8b74074 - [clang][sema] Fix collectConjunctionTerms()

2022-08-04 Thread Timm Bäder via cfe-commits
Author: Timm Bäder Date: 2022-08-05T06:45:32+02:00 New Revision: 8b74074731eeb3ff673bd7da4cd963efe78f8db6 URL: https://github.com/llvm/llvm-project/commit/8b74074731eeb3ff673bd7da4cd963efe78f8db6 DIFF: https://github.com/llvm/llvm-project/commit/8b74074731eeb3ff673bd7da4cd963efe78f8db6.diff LO

[PATCH] D131070: [clang][sema] Fix collectConjunctionTerms()

2022-08-04 Thread Timm Bäder via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG8b74074731ee: [clang][sema] Fix collectConjunctionTerms() (authored by tbaeder). Changed prior to commit: https://reviews.llvm.org/D131070?vs=4499

[PATCH] D130394: [clang][CodeGen] Factor out Swift ABI hooks (NFCI)

2022-08-04 Thread Sergei Barannikov via Phabricator via cfe-commits
barannikov88 added a comment. Ping Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D130394/new/ https://reviews.llvm.org/D130394 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.or

[clang] d194285 - [clang] Consider array filler in MaybeElementDependentArrayfiller()

2022-08-04 Thread Timm Bäder via cfe-commits
Author: Timm Bäder Date: 2022-08-05T06:47:49+02:00 New Revision: d1942855c4317c61f9fae173afa2cbe1076c3c4c URL: https://github.com/llvm/llvm-project/commit/d1942855c4317c61f9fae173afa2cbe1076c3c4c DIFF: https://github.com/llvm/llvm-project/commit/d1942855c4317c61f9fae173afa2cbe1076c3c4c.diff LO

[PATCH] D131155: [clang] Expand array expressions if the filler expression's filler is element dependent

2022-08-04 Thread Timm Bäder via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGd1942855c431: [clang] Consider array filler in MaybeElementDependentArrayfiller() (authored by tbaeder). Changed prior to commit: https://reviews.llvm.org/D131155?vs=449932&id=450230#toc Repository:

[clang] 6134629 - [NFC][HLSL] Fix typo in CGHLSLRuntime.

2022-08-04 Thread Xiang Li via cfe-commits
Author: Xiang Li Date: 2022-08-04T23:08:40-07:00 New Revision: 6134629af08705e1f495171221deb46f6ba3d65d URL: https://github.com/llvm/llvm-project/commit/6134629af08705e1f495171221deb46f6ba3d65d DIFF: https://github.com/llvm/llvm-project/commit/6134629af08705e1f495171221deb46f6ba3d65d.diff LOG:

[PATCH] D131238: [NFC][HLSL] Fix typo in CGHLSLRuntime.

2022-08-04 Thread Xiang Li via Phabricator via cfe-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG6134629af087: [NFC][HLSL] Fix typo in CGHLSLRuntime. (authored by

[PATCH] D130894: [clang] Print more information about failed static assertions

2022-08-04 Thread Timm Bäder via Phabricator via cfe-commits
tbaeder added a comment. For the record, the output now looks something like this: test.cpp:24:1: error: static assertion failed due to requirement 'c != c' static_assert(c != c); ^ ~~ test.cpp:24:17: note: expression evaluates to '('0' != '0')' static_assert(c != c);

[PATCH] D131238: [NFC][HLSL] Fix typo in CGHLSLRuntime.

2022-08-04 Thread Xiang Li via Phabricator via cfe-commits
python3kgae created this revision. python3kgae added a reviewer: beanz. Herald added a subscriber: Anastasia. Herald added a project: All. python3kgae requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Change setHLSLFnuctionAttributes to setHL

[PATCH] D131239: [NFC][HLSL] Fix typo in CGHLSLRuntime.

2022-08-04 Thread Xiang Li via Phabricator via cfe-commits
python3kgae created this revision. python3kgae added a reviewer: beanz. Herald added a subscriber: Anastasia. Herald added a project: All. python3kgae requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Change setHLSLFnuctionAttributes to setHL

[PATCH] D131240: [NFC][HLSL] Fix build error caused missing typo update.

2022-08-04 Thread Xiang Li via Phabricator via cfe-commits
python3kgae created this revision. python3kgae added a reviewer: beanz. Herald added a subscriber: Anastasia. Herald added a project: All. python3kgae requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. setHLSLFnuctionAttributes to setHLSLFunct

[clang] b2c9ff7 - [NFC][HLSL] Fix build error caused missing typo update.

2022-08-04 Thread Xiang Li via cfe-commits
Author: Xiang Li Date: 2022-08-04T23:20:25-07:00 New Revision: b2c9ff727379992ef472e32620635b7e5d561d60 URL: https://github.com/llvm/llvm-project/commit/b2c9ff727379992ef472e32620635b7e5d561d60 DIFF: https://github.com/llvm/llvm-project/commit/b2c9ff727379992ef472e32620635b7e5d561d60.diff LOG:

[PATCH] D131240: [NFC][HLSL] Fix build error caused missing typo update.

2022-08-04 Thread Xiang Li via Phabricator via cfe-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGb2c9ff727379: [NFC][HLSL] Fix build error caused missing typo upda

[PATCH] D130894: [clang] Print more information about failed static assertions

2022-08-04 Thread Dávid Bolvanský via Phabricator via cfe-commits
xbolva00 added a comment. looks great CHANGES SINCE LAST ACTION https://reviews.llvm.org/D130894/new/ https://reviews.llvm.org/D130894 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi

[PATCH] D131241: [Clang][Lex] Extend HeaderSearch::LookupFile to control OpenFile behavior.

2022-08-04 Thread Jun Zhang via Phabricator via cfe-commits
junaire created this revision. Herald added a project: All. junaire requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. In the downstream projects (ROOT and Cling), we want to do header files lookups but no `OpenFile` behavior as we only need t

[PATCH] D130516: [llvm] compression classes

2022-08-04 Thread David Blaikie via Phabricator via cfe-commits
dblaikie added inline comments. Comment at: llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp:54-60 + OptionalCompressionScheme = compression::noneIfUnsupported( + (Compress && DoInstrProfNameCompression) ? OptionalCompressionScheme +

[PATCH] D130754: [X86] Support ``-mindirect-branch-cs-prefix`` for call and jmp to indirect thunk

2022-08-04 Thread Nikita Popov via Phabricator via cfe-commits
nikic added a comment. This change caused a significant compile-time regression for `O0` builds (about 1%): http://llvm-compile-time-tracker.com/compare.php?from=45bae1be90472c696f6ba3bb4f8fabee76040fa9&to=6f867f9102838ebe314c1f3661fdf95700386e5a&stat=instructions At a guess, fetching a module

[clang] 230d6f9 - [Coroutines] Remove lifetime intrinsics for spliied allocas in coroutine frames

2022-08-04 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2022-08-05T14:50:43+08:00 New Revision: 230d6f93aaabae985e9fafd071bb3737533c6083 URL: https://github.com/llvm/llvm-project/commit/230d6f93aaabae985e9fafd071bb3737533c6083 DIFF: https://github.com/llvm/llvm-project/commit/230d6f93aaabae985e9fafd071bb3737533c6083.diff LO

<    1   2   3