[llvm] [AMDGPU][NFC] Pre-commit tests for out-of-bounds raw buffer fold (PR #227401)
Dark Steve via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 1 04:32:33 PDT 2026
================
@@ -0,0 +1,789 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: opt -mtriple=amdgpu9.4-amd-amdhsa -O2 -S < %s | llc -mtriple=amdgpu9.4-amd-amdhsa | FileCheck -check-prefix=GFX9 %s
+; RUN: opt -mtriple=amdgpu10.1-amd-amdhsa -O2 -S < %s | llc -mtriple=amdgpu10.1-amd-amdhsa | FileCheck -check-prefix=GFX10 %s
----------------
PrasoonMishra wrote:
Sure. I originally added the end-to-end codegen test to motivate the optimization in the pre-commit patch, but that's probably overkill here. Since the actual change is in `InstCombine`, I've moved the relevant test from the second patch into this one and dropped the `opt | llc` test.
https://github.com/llvm/llvm-project/pull/227401
More information about the llvm-commits
mailing list