[llvm] [SPIR-V] Strip convergence intrinsics before ISel (PR #75948)

Ilia Diachkov via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 3 01:56:27 PST 2024


Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/75948 at github.com>


================
@@ -312,6 +316,54 @@ bool SPIRVPrepareFunctions::substituteIntrinsicCalls(Function *F) {
   return Changed;
 }
 
+bool SPIRVPrepareFunctions::stripConvergenceOperands(Function *F) {
+  DenseSet<Instruction *> to_remove;
----------------
iliya-diyachkov wrote:

Please correct the variable name according to the llvm coding standard ("The name should be camel case, and start with an upper case letter").

https://github.com/llvm/llvm-project/pull/75948


More information about the llvm-commits mailing list