[llvm] [llvm][NVPTX] Don't reorder MIs that construct a PTX function call (PR #116522)

Youngsuk Kim via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 12:37:37 PST 2024


================
@@ -0,0 +1,28 @@
+; RUN: llc -O3 -march=nvptx64 -enable-misched %s -o - | FileCheck %s
+
+target datalayout = "e-i64:64-i128:128-v16:16-v32:32-n16:32:64"
+target triple = "nvptx64-nvidia-cuda"
+
+define ptx_kernel void @my_kernel(i32 %arg_0, i32 %arg_3.tr, i32 %"$$i_l40_0_t23.0") {
+Entry_BB:
+  br label %BB1692
+
+BB1692:                                           ; preds = %BB1692, %Entry_BB
+  %"$$i_l40_0_t23.02" = phi i32 [ 0, %Entry_BB ], [ 1, %BB1692 ]
----------------
JOE1994 wrote:

I've pushed another commit with the "update_llc_test_checks.py" updates.

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


More information about the llvm-commits mailing list