Skip to content

Commit 576d201

Browse files
MrSidimsjsji
authored andcommitted
Add polly to clang-format checks (#2715)
also fix formatting issue from a recent PR. Signed-off-by: Sidorov, Dmitry <[email protected]> Original commit: KhronosGroup/SPIRV-LLVM-Translator@9b0f29c488ada22
1 parent 697b817 commit 576d201

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

llvm-spirv/.github/workflows/check-code-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
clang-format-${{ env.LLVM_VERSION }} clang-tidy-${{ env.LLVM_VERSION }} \
7171
clang-tools-${{ env.LLVM_VERSION }} llvm-${{ env.LLVM_VERSION }}-dev \
7272
libomp-${{ env.LLVM_VERSION }}-dev libllvmlibc-${{ env.LLVM_VERSION }}-dev \
73-
mlir-${{ env.LLVM_VERSION }}-tools \
73+
mlir-${{ env.LLVM_VERSION }}-tools libpolly-${{ env.LLVM_VERSION }}-dev \
7474
7575
- name: Generate compile command database
7676
if: ${{ steps.gather-list-of-changes.outputs.HAS_CHANGES }}

llvm-spirv/lib/SPIRV/SPIRVWriter.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4745,8 +4745,9 @@ SPIRVValue *LLVMToSPIRVBase::transIntrinsicInst(IntrinsicInst *II,
47454745
case Intrinsic::invariant_start:
47464746
case Intrinsic::invariant_end:
47474747
case Intrinsic::dbg_label:
4748-
// llvm.trap and llvm.debug.trap intrinsics are not implemented. But for now don't crash. This
4749-
// change is pending the trap/abort intrinsic implementation.
4748+
// llvm.trap and llvm.debug.trap intrinsics are not implemented. But for now
4749+
// don't crash. This change is pending the trap/abort intrinsic
4750+
// implementation.
47504751
case Intrinsic::trap:
47514752
case Intrinsic::ubsantrap:
47524753
case Intrinsic::debugtrap:

0 commit comments

Comments
 (0)