[PATCH] D134741: [amdgpu] Error, instead of miscompile, anonymous kernels using lds

Jon Chesterfield via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 08:00:22 PDT 2022


JonChesterfield added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/lds-reject-anonymous-kernels.ll:2
+; RUN: not --crash opt -S -mtriple=amdgcn-- -amdgpu-lower-module-lds < %s | FileCheck %s
+; RUN: not --crash opt -S -mtriple=amdgcn-- -passes=amdgpu-lower-module-lds < %s | FileCheck %s
+
----------------
arsenm wrote:
> arsenm wrote:
> > Needs 2>&1 to redirect the error to stdout
> to stdin 
great spot, thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134741/new/

https://reviews.llvm.org/D134741



More information about the llvm-commits mailing list