[llvm] [AMDGPU] Do not fold into v_accvpr_mov/write/read (PR #120475)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 2 08:20:07 PST 2025
================
@@ -0,0 +1,124 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -O3 -mtriple=amdgcn--amdhsa -mcpu=gfx942 %s -o - | FileCheck %s --check-prefixes=GFX942
+; RUN: llc -O3 -mtriple=amdgcn--amdhsa -mcpu=gfx908 %s -o - | FileCheck %s --check-prefixes=GFX908
+
+define amdgpu_kernel void @test(i1 %arg, i1 %arg1) {
----------------
arsenm wrote:
i1 kernel arguments are a kind of special case, can you replace these with i32 and explicit compares to 0?
https://github.com/llvm/llvm-project/pull/120475
More information about the llvm-commits
mailing list