[PATCH] D116830: Initialize ExtAddrMode::Scale

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 7 15:21:57 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGbd9ae596d863: Initialize ExtAddrMode::Scale (authored by vitalybuka).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116830/new/

https://reviews.llvm.org/D116830

Files:
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp


Index: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
===================================================================
--- llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+++ llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -2574,6 +2574,7 @@
   AM.BaseReg = Base->getReg();
   AM.Displacement = Offset;
   AM.ScaledReg = 0;
+  AM.Scale = 0;
   return AM;
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116830.398256.patch
Type: text/x-patch
Size: 358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220107/726dacc9/attachment.bin>


More information about the llvm-commits mailing list