[llvm] AMDGPU/GlobalISel: Add skeletons for new register bank select passes (PR #112862)

Petar Avramovic via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 07:06:22 PDT 2024


================
@@ -0,0 +1,858 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
+# RUN: llc -mtriple=amdgcn -mcpu=gfx1010 -run-pass=none %s -verify-machineinstrs -o - | FileCheck %s
----------------
petar-avramovic wrote:

Sorry, correction, not true. Machine verifier will complain that Generic virtual register must have a bank in a RegBankSelected function.
Now that I think of it, RBLegalize should probably also require that MachineFunction has Property::RegBankSelected

https://github.com/llvm/llvm-project/pull/112862


More information about the llvm-commits mailing list