[llvm] [SPIRV] Alphabetize SPIRVPassRegistry Passes (PR #218199)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 22 22:30:47 PDT 2026
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/218199
To be consistent with other targets.
>From a9808817bf58f91f5151f9ce067c5369b77f7ba1 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Sun, 23 Aug 2026 05:30:35 +0000
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Created using spr 1.3.7
---
llvm/lib/Target/SPIRV/SPIRVPassRegistry.def | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/llvm/lib/Target/SPIRV/SPIRVPassRegistry.def b/llvm/lib/Target/SPIRV/SPIRVPassRegistry.def
index efceace6d8413..34695f8f78e96 100644
--- a/llvm/lib/Target/SPIRV/SPIRVPassRegistry.def
+++ b/llvm/lib/Target/SPIRV/SPIRVPassRegistry.def
@@ -17,14 +17,14 @@
#define MODULE_PASS(NAME, CREATE_PASS)
#endif
MODULE_PASS("spirv-cbuffer-access", SPIRVCBufferAccess())
+MODULE_PASS("spirv-emit-intrinsics", SPIRVEmitIntrinsicsPass(*static_cast<const SPIRVTargetMachine *>(this)))
+MODULE_PASS("spirv-finalize-shader-linkage", SPIRVFinalizeShaderLinkage(*static_cast<const SPIRVTargetMachine *>(this)))
MODULE_PASS("spirv-legalize-implicit-binding", SPIRVLegalizeImplicitBinding())
MODULE_PASS("spirv-legalize-zero-size-arrays", SPIRVLegalizeZeroSizeArrays(*static_cast<const SPIRVTargetMachine *>(this)))
MODULE_PASS("spirv-lower-ctor-dtor", SPIRVCtorDtorLoweringPass())
MODULE_PASS("spirv-prepare-functions", SPIRVPrepareFunctions(*static_cast<const SPIRVTargetMachine *>(this)))
MODULE_PASS("spirv-prepare-globals", SPIRVPrepareGlobals())
MODULE_PASS("spirv-pushconstant-access", SPIRVPushConstantAccess(*static_cast<const SPIRVTargetMachine *>(this)))
-MODULE_PASS("spirv-finalize-shader-linkage", SPIRVFinalizeShaderLinkage(*static_cast<const SPIRVTargetMachine *>(this)))
-MODULE_PASS("spirv-emit-intrinsics", SPIRVEmitIntrinsicsPass(*static_cast<const SPIRVTargetMachine *>(this)))
#undef MODULE_PASS
#ifndef FUNCTION_PASS
More information about the llvm-commits
mailing list