[llvm] [AArch64][GISEL] Reduce likelihood of hash collisions for mappings in RegisterBankInfo (PR #87033)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 22:48:32 PDT 2024


================
@@ -221,8 +221,8 @@ RegisterBankInfo::getInstrMappingImpl(const MachineInstr &MI) const {
       if (!OperandsMapping[0]) {
         if (MI.isRegSequence()) {
           // For reg_sequence, the result size does not match the input.
-          unsigned ResultSize = getSizeInBits(MI.getOperand(0).getReg(),
-                                              MRI, TRI);
+          unsigned ResultSize =
+              getSizeInBits(MI.getOperand(0).getReg(), MRI, TRI);
----------------
arsenm wrote:

Unrelated formatting change 

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


More information about the llvm-commits mailing list