[llvm] 7521fcd - AMDGPU/GlobalISel: Add subtarget to a test
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 21 07:57:53 PDT 2021
Author: Matt Arsenault
Date: 2021-05-21T23:57:38+09:00
New Revision: 7521fcd2698740cbb81495de7dfe1a3a4b39b21b
URL: https://github.com/llvm/llvm-project/commit/7521fcd2698740cbb81495de7dfe1a3a4b39b21b
DIFF: https://github.com/llvm/llvm-project/commit/7521fcd2698740cbb81495de7dfe1a3a4b39b21b.diff
LOG: AMDGPU/GlobalISel: Add subtarget to a test
SelectionDAG forces us to have a weird ABI for 16-bit values without
legal 16-bit operations, but currently GlobalISel bypasses this and
sometimes ends up using the gfx8+ ABI in some contexts. Make sure
we're testing the normal ABI to avoid a test change in a future patch.
Added:
Modified:
llvm/lib/CodeGen/RegAllocBase.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/RegAllocBase.cpp b/llvm/lib/CodeGen/RegAllocBase.cpp
index 39787f246bea..a2e9f2124cf6 100644
--- a/llvm/lib/CodeGen/RegAllocBase.cpp
+++ b/llvm/lib/CodeGen/RegAllocBase.cpp
@@ -35,7 +35,7 @@ using namespace llvm;
#define DEBUG_TYPE "regalloc"
-STATISTIC(NumNewQueued , "Number of new live ranges queued");
+STATISTIC(NumNewQueued, "Number of new live ranges queued");
// Temporary verification option until we can put verification inside
// MachineVerifier.
@@ -54,8 +54,7 @@ bool RegAllocBase::VerifyEnabled = false;
// Pin the vtable to this file.
void RegAllocBase::anchor() {}
-void RegAllocBase::init(VirtRegMap &vrm,
- LiveIntervals &lis,
+void RegAllocBase::init(VirtRegMap &vrm, LiveIntervals &lis,
LiveRegMatrix &mat) {
TRI = &vrm.getTargetRegInfo();
MRI = &vrm.getRegInfo();
More information about the llvm-commits
mailing list