[llvm] AMDGPU: Fix selection failure on fast vector rootn (PR #185035)

Steffen Larsen via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 00:59:05 PDT 2026


================
@@ -0,0 +1,142 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -passes=amdgpu-simplifylib,instcombine < %s | llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 | FileCheck %s
+
----------------
steffenlarsen wrote:

Minor personal preference, but this would benefit from a small comment stating the reason why a codegen test is needed. The git-history papertrail should lead back to this, but if someone comes along and breaks the expectations here it would help to be able to quickly identify the important parts of this test, for either the breaker or the reviewers.

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


More information about the llvm-commits mailing list