[PATCH] D155708: [AArch64][NFC] Call the API getVScaleRange directly

David Spickett via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 02:11:11 PDT 2023


DavidSpickett added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64TargetMachine.cpp:420
   if (MaxSVEVectorSize == 0)
-    MinSVEVectorSize = (MinSVEVectorSize / 128) * 128;
+    MinSVEVectorSize = MinSVEVectorSize;
   else {
----------------
```
/work/open_source/lldb-cross-compile/llvm-project/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp:420:22: warning: explicitly assigning value of variable of type 'unsigned int' to itself [-Wself-assign]
    MinSVEVectorSize = MinSVEVectorSize;
    ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
```
Compiling with clang-11.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155708



More information about the llvm-commits mailing list