[llvm] 600e9d3 - AMDGPU: Fix broken test

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 09:33:50 PST 2022


Author: Matt Arsenault
Date: 2022-11-29T12:33:44-05:00
New Revision: 600e9d33a5a21b093485d093cbb6cf4bc5d9d649

URL: https://github.com/llvm/llvm-project/commit/600e9d33a5a21b093485d093cbb6cf4bc5d9d649
DIFF: https://github.com/llvm/llvm-project/commit/600e9d33a5a21b093485d093cbb6cf4bc5d9d649.diff

LOG: AMDGPU: Fix broken test

>From ee29a846c622b52d82e208146a028cf866351fde

Added: 
    

Modified: 
    llvm/test/CodeGen/AMDGPU/assert-wrong-alloca-addrspace.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AMDGPU/assert-wrong-alloca-addrspace.ll b/llvm/test/CodeGen/AMDGPU/assert-wrong-alloca-addrspace.ll
index a76c07842648..67fe8a8de83b 100644
--- a/llvm/test/CodeGen/AMDGPU/assert-wrong-alloca-addrspace.ll
+++ b/llvm/test/CodeGen/AMDGPU/assert-wrong-alloca-addrspace.ll
@@ -1,4 +1,4 @@
-; RUN: not llc -march=amdgcn -mcpu=gfx900 -filetype=null %s 2>&1 | FileCheck
+; RUN: not --crash llc -march=amdgcn -mcpu=gfx900 -filetype=null %s 2>&1 | FileCheck %s
 
 ; The alloca has the wrong address space and is passed to a call. The
 ; FrameIndex was created with the natural 32-bit pointer type instead


        


More information about the llvm-commits mailing list