[clang] [clang-tools-extra] [compiler-rt] [llvm] [X86] AMD Zen 6 Initial enablement (PR #179150)

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 2 02:45:50 PST 2026


================
@@ -1637,7 +1637,8 @@ void ScheduleDAGRRList::ListScheduleBottomUp() {
   }
 
   // Reverse the order if it is bottom up.
-  std::reverse(Sequence.begin(), Sequence.end());
+  if (!Sequence.empty())
+    std::reverse(Sequence.begin(), Sequence.end());
----------------
RKSimon wrote:

where did this come from?

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


More information about the cfe-commits mailing list