[PATCH] D142963: [AArch64] Handle negative architecture features

Lucas Prates via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 01:53:39 PST 2023


pratlucas added inline comments.


================
Comment at: clang/lib/Basic/Targets/AArch64.cpp:687
 
-  if (ArchInfo == llvm::AArch64::INVALID)
-    return; // Not an architecure, nothing more to do.
+  if (ArchInfo == llvm::AArch64::INVALID || !Enabled)
+    return; // Not an architecture, nothing more to do.
----------------
I believe these changes require a rebase. `llvm::AArch64::INVALID` was removed by D142539.


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

https://reviews.llvm.org/D142963



More information about the llvm-commits mailing list