[PATCH] D113800: [amdgpu] Don't crash on empty global ctor/dtor
Yaxun Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 12 13:23:27 PST 2021
yaxunl added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/lower-empty-ctor-dtor.ll:1
+; RUN: opt -S -mtriple=amdgcn-- -amdgpu-lower-ctor-dtor < %s | FileCheck %s
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 -filetype=obj -o - < %s | llvm-readelf -s - 2>&1 | FileCheck %s
----------------
arsenm wrote:
> I don't see what this opt line is accomplishing with the checks. Needs some positive IR checks?
should we add a verify pass to make sure this is valid IR?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113800/new/
https://reviews.llvm.org/D113800
More information about the llvm-commits
mailing list