[all-commits] [llvm/llvm-project] 1e3a24: [InitUndef] Don't use largest super class (#107885)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Sep 11 00:36:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1e3a24d2e4eb63c17b962161ae6588d1b2c178f8
https://github.com/llvm/llvm-project/commit/1e3a24d2e4eb63c17b962161ae6588d1b2c178f8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-09-11 (Wed, 11 Sep 2024)
Changed paths:
M llvm/include/llvm/CodeGen/TargetRegisterInfo.h
M llvm/lib/CodeGen/InitUndef.cpp
M llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
M llvm/lib/Target/RISCV/RISCVRegisterInfo.h
M llvm/test/CodeGen/RISCV/rvv/subregister-undef-early-clobber.mir
Log Message:
-----------
[InitUndef] Don't use largest super class (#107885)
The InitUndef pass currently uses the getLargestSuperClass() hook (which
is only used by that pass) to chose the register to initialize. This was done
to reduce the number of undef init pseudos needed, e.g. so that the vrnov0
regclass would use the same pseudo as v0. After #106744 we use a single
generic pseudo, so this is no longer necessary.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list