[PATCH] D131220: [NFC][MLGO] ML Regalloc Priority Advisor

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 15 18:30:23 PDT 2022


MatzeB added inline comments.


================
Comment at: llvm/lib/CodeGen/RegAllocGreedy.cpp:363
+
+  return static_cast<float>(Prio);
 }
----------------
Did you consider the precision loss that can happen when casting a 32bit unsigned number to 32bit float?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131220



More information about the llvm-commits mailing list