[PATCH] D76051: [RISCV][GlobalISel] Select register banks for GPR ALU instructions
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 22 11:38:02 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/global-rv64.mir:7
+--- |
+ @var = global i32 0
+
----------------
nitinjohnraj wrote:
> Should this global be an i64?
The type doesn't matter. We're interested in the pointer to the variable not the type of the variable itself. The variable could be any type, even FP or a struct/array.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76051/new/
https://reviews.llvm.org/D76051
More information about the llvm-commits
mailing list