[PATCH] D140662: [NFC][Clang][RISCV] Reduce boilerplate when determining prototype for segment loads

2022-12-25 Thread Yueh-Ting (eop) Chen via Phabricator via cfe-commits
eopXD updated this revision to Diff 485270. eopXD added a comment. Rebase to latest main. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140662/new/ https://reviews.llvm.org/D140662 Files: clang/include/clang/Basic/riscv_vector.td Index: clang/i

[clang] 904a79f - [NFC][Clang][RISCV] Reduce for-loop with SmallVector utility

2022-12-25 Thread via cfe-commits
Author: eopXD Date: 2022-12-25T22:57:51-08:00 New Revision: 904a79f99153d9d8ed67beeed82a0f910bb000fd URL: https://github.com/llvm/llvm-project/commit/904a79f99153d9d8ed67beeed82a0f910bb000fd DIFF: https://github.com/llvm/llvm-project/commit/904a79f99153d9d8ed67beeed82a0f910bb000fd.diff LOG: [N

[PATCH] D140661: [NFC][Clang][RISCV] Reduce for-loop with SmallVector utility

2022-12-25 Thread Yueh-Ting (eop) Chen via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG904a79f99153: [NFC][Clang][RISCV] Reduce for-loop with SmallVector utility (authored by eopXD). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140661/new/ ht

[PATCH] D140661: [NFC][Clang][RISCV] Reduce for-loop with SmallVector utility

2022-12-25 Thread Craig Topper via Phabricator via cfe-commits
craig.topper accepted this revision. craig.topper 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/D140661/new/ https://reviews.llvm.org/D140661 ___

[PATCH] D140661: [NFC][Clang] Reduce for-loop with SmallVector utility

2022-12-25 Thread Craig Topper via Phabricator via cfe-commits
craig.topper added a comment. Please add [RISCV] to title Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140661/new/ https://reviews.llvm.org/D140661 ___ cfe-commits mailing list cfe-commits@lists.llvm.or

[PATCH] D140294: clang: Replace implementation of __builtin_isnormal

2022-12-25 Thread Serge Pavlov via Phabricator via cfe-commits
sepavloff added a comment. As mentioned in another review, using `fcmp` to represent `isnormal` in IR as well as any other classification function would result in incorrect code in strict mode. The source: inline __attribute__((always_inline)) _Bool func(float x) { return __builtin_isnorm

[PATCH] D140433: [Clang] Add `nvptx-arch` tool to query installed NVIDIA GPUs

2022-12-25 Thread Joseph Huber via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGd5a5ee856e7c: [Clang] Add `nvptx-arch` tool to query installed NVIDIA GPUs (authored by jhuber6). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140433/new/

[clang] d5a5ee8 - [Clang] Add `nvptx-arch` tool to query installed NVIDIA GPUs

2022-12-25 Thread Joseph Huber via cfe-commits
Author: Joseph Huber Date: 2022-12-25T21:24:30-06:00 New Revision: d5a5ee856e7ccd442ad22168c56ff77197255cbe URL: https://github.com/llvm/llvm-project/commit/d5a5ee856e7ccd442ad22168c56ff77197255cbe DIFF: https://github.com/llvm/llvm-project/commit/d5a5ee856e7ccd442ad22168c56ff77197255cbe.diff

[clang] 54752f3 - [RISCV] Implement assembler support for XTHeadVdot

2022-12-25 Thread Jojo R via cfe-commits
Author: Jojo R Date: 2022-12-26T19:05:22+08:00 New Revision: 54752f3ff6d50944f17c260a6dc47a4758a026fc URL: https://github.com/llvm/llvm-project/commit/54752f3ff6d50944f17c260a6dc47a4758a026fc DIFF: https://github.com/llvm/llvm-project/commit/54752f3ff6d50944f17c260a6dc47a4758a026fc.diff LOG: [

[clang] 1179ef4 - [RISCV] Implement assembler support for XTHeadVdot

2022-12-25 Thread Jojo R via cfe-commits
Author: Jojo R Date: 2022-12-26T18:32:42+08:00 New Revision: 1179ef46a34292179d3e7e8570d7342edd2dc27d URL: https://github.com/llvm/llvm-project/commit/1179ef46a34292179d3e7e8570d7342edd2dc27d DIFF: https://github.com/llvm/llvm-project/commit/1179ef46a34292179d3e7e8570d7342edd2dc27d.diff LOG: [

[PATCH] D140073: [ODRHash] Hash `ObjCInterfaceDecl` and diagnose discovered mismatches.

2022-12-25 Thread Chuanqi Xu via Phabricator via cfe-commits
ChuanqiXu accepted this revision. ChuanqiXu added a comment. This revision is now accepted and ready to land. Although I'm not familiar with ObjC, the code looks good. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140073/new/ https://reviews.llvm.o

[PATCH] D140055: [ODRHash] Detect mismatches in anonymous `RecordDecl`.

2022-12-25 Thread Chuanqi Xu via Phabricator via cfe-commits
ChuanqiXu accepted this revision. ChuanqiXu added a comment. This revision is now accepted and ready to land. LGTM since it shouldn't be bad to call `getMostRecentDecl()` multiple times. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140055/new/ htt

[PATCH] D140544: [DebugInfo] make DW_LANG_C11 respect -gstrict-dwarf

2022-12-25 Thread ChenZheng via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. shchenz marked an inline comment as done. Closed by commit rGb1d7010caa43: [DebugInfo] make DW_LANG_C11 respect -gstrict-dwarf (authored by shchenz). Repository: rG

[clang] b1d7010 - [DebugInfo] make DW_LANG_C11 respect -gstrict-dwarf

2022-12-25 Thread Chen Zheng via cfe-commits
Author: Chen Zheng Date: 2022-12-25T21:01:02-05:00 New Revision: b1d7010caa4394e7f5b41c627702f6acabe0cec5 URL: https://github.com/llvm/llvm-project/commit/b1d7010caa4394e7f5b41c627702f6acabe0cec5 DIFF: https://github.com/llvm/llvm-project/commit/b1d7010caa4394e7f5b41c627702f6acabe0cec5.diff LO

[PATCH] D140664: [Sema] Don't mark deleted special member functions as non-trivial

2022-12-25 Thread Roy Jacobson via Phabricator via cfe-commits
royjacobson created this revision. Herald added a project: All. royjacobson requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. As noted in https://github.com/llvm/llvm-project/issues/59624, we sometimes mark implicitly deleted special member

[clang] f0756e0 - Revert "[clang-format] Add an option to format integer literal separators"

2022-12-25 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-12-25T13:04:41-08:00 New Revision: f0756e0860107262890d122cac909934563b1f5c URL: https://github.com/llvm/llvm-project/commit/f0756e0860107262890d122cac909934563b1f5c DIFF: https://github.com/llvm/llvm-project/commit/f0756e0860107262890d122cac909934563b1f5c.diff L

[PATCH] D140663: CUDA/HIP: Use kernel name to map to symbol

2022-12-25 Thread Daniele Castagna via Phabricator via cfe-commits
dcastagna created this revision. Herald added subscribers: mattd, yaxunl. Herald added a project: All. dcastagna requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Currently CGCUDANV uses an llvm::Function as a key to map kernels to a symbol i

[PATCH] D140543: [clang-format] Add an option to format integer literal separators

2022-12-25 Thread Vitaly Buka via Phabricator via cfe-commits
vitalybuka reopened this revision. vitalybuka added a comment. This revision is now accepted and ready to land. Introduces memory bugs: https://lab.llvm.org/buildbot/#/builders/5/builds/30234 https://lab.llvm.org/buildbot/#/builders/236/builds/1556 Repository: rG LLVM Github Monorepo CHANGES

[PATCH] D140290: [clang-tidy] Add misc-static-declaration-in-header check

2022-12-25 Thread Carlos Galvez via Phabricator via cfe-commits
carlosgalvezp updated this revision to Diff 485236. carlosgalvezp added a comment. Remove remaining function declaration in the check class. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140290/new/ https://reviews.llvm.org/D140290 Files: clang-

[PATCH] D140290: [clang-tidy] Add misc-static-declaration-in-header check

2022-12-25 Thread Carlos Galvez via Phabricator via cfe-commits
carlosgalvezp updated this revision to Diff 485235. carlosgalvezp added a comment. Warn only about cases where there really is a problem. There are other cases which are just a readability issue, where a separate check for "redundant static" would fit better. Remove also the automatic fix-it sinc

[PATCH] D140543: [clang-format] Add an option to format integer literal separators

2022-12-25 Thread Nico Weber via Phabricator via cfe-commits
thakis added a comment. It was also failing on the official bots: https://lab.llvm.org/buildbot/#/builders/109/builds/54291 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140543/new/ https://reviews.llvm.org/D140543

[PATCH] D140662: [NFC][Clang][RISCV] Reduce boilerplate when determining prototype for segment loads

2022-12-25 Thread Yueh-Ting (eop) Chen via Phabricator via cfe-commits
eopXD created this revision. eopXD added reviewers: craig.topper, kito-cheng, khchen. Herald added subscribers: sunshaoce, VincentWu, StephenFan, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer

[PATCH] D140155: [Clang][OpenMP] Allow host call to nohost function with host variant

2022-12-25 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 added a comment. In D140155#4016274 , @mgorny wrote: > In D140155#4004505 , @doru1004 > wrote: > >> Commit 658ed9547cdd6657895339a6c390c31aa77a5698 >>

[clang] f74e3d2 - [OpenMP] Fix test on 32-bit platforms

2022-12-25 Thread Joseph Huber via cfe-commits
Author: Joseph Huber Date: 2022-12-25T09:47:04-06:00 New Revision: f74e3d2f81d2aae47d6032fc1d23114460d48a37 URL: https://github.com/llvm/llvm-project/commit/f74e3d2f81d2aae47d6032fc1d23114460d48a37 DIFF: https://github.com/llvm/llvm-project/commit/f74e3d2f81d2aae47d6032fc1d23114460d48a37.diff

[PATCH] D140155: [Clang][OpenMP] Allow host call to nohost function with host variant

2022-12-25 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 added a comment. In D140155#4016274 , @mgorny wrote: > In D140155#4004505 , @doru1004 > wrote: > >> Commit 658ed9547cdd6657895339a6c390c31aa77a5698 >>

[PATCH] D140661: [NFC][Clang] Reduce for-loop with SmallVectorUtility

2022-12-25 Thread Yueh-Ting (eop) Chen via Phabricator via cfe-commits
eopXD created this revision. Herald added subscribers: frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb. Herald added a project: All. eopXD r

[PATCH] D139935: [NFC] [Doc] Fix example for AnnotateTypeDocs

2022-12-25 Thread Xiang Li via Phabricator via cfe-commits
python3kgae added a comment. Merry Christmas and ping Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D139935/new/ https://reviews.llvm.org/D139935 ___ cfe-commits mailing list cfe-commits@lists.llvm.org ht

[PATCH] D140155: [Clang][OpenMP] Allow host call to nohost function with host variant

2022-12-25 Thread Michał Górny via Phabricator via cfe-commits
mgorny reopened this revision. mgorny added a comment. This revision is now accepted and ready to land. In D140155#4004505 , @doru1004 wrote: > Commit 658ed9547cdd6657895339a6c390c31aa77a5698 >

[PATCH] D139723: [OpenMP][AMDGPU] Enable use of abs labs and llabs math functions in C code

2022-12-25 Thread Michał Górny via Phabricator via cfe-commits
mgorny added a comment. Also, please link commits to diffs using `Differential Revision:` trailer in the future. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D139723/new/ https://reviews.llvm.org/D139723 __

[PATCH] D139723: [OpenMP][AMDGPU] Enable use of abs labs and llabs math functions in C code

2022-12-25 Thread Michał Górny via Phabricator via cfe-commits
mgorny reopened this revision. mgorny added a comment. This revision is now accepted and ready to land. In D139723#4004536 , @doru1004 wrote: > Commit: 07ff3c5ccce68aed6c1a270b3f89ea14de7aa250 >