Skip to content

Commit efa3e8e

Browse files
committed
Remove SF# register's aliases
Remove SF# register's aliases in order to solve a problem caused by D157864. llvm/llvm-project#78942
1 parent da74ce7 commit efa3e8e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

llvm/lib/Target/VE/VERegisterInfo.td

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,8 @@ foreach I = 0-63 in
108108
def SW#I : VEReg<I, "sw"#I, [], ["s"#I]>, DwarfRegNum<[I]>;
109109

110110
// Generic floating point registers - 32 bits wide
111-
// NOTE: Mark SF#I as alias of SW#I temporary to avoid register allocation
112-
// problem.
113111
foreach I = 0-63 in
114-
def SF#I : VEReg<I, "sf"#I, [], ["s"#I], [!cast<VEReg>("SW"#I)]>,
115-
DwarfRegNum<[I]>;
112+
def SF#I : VEReg<I, "sf"#I, [], ["s"#I]>, DwarfRegNum<[I]>;
116113

117114
// Generic integer registers - 64 bits wide
118115
let SubRegIndices = [sub_i32, sub_f32], CoveredBySubRegs = 1 in {

0 commit comments

Comments
 (0)