[llvm] [LoopInterchange] Fix overflow in cost calculation (PR #111807)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 4 10:36:33 PST 2024
================
@@ -31,7 +32,7 @@ class ScalarEvolution;
class SCEV;
class TargetTransformInfo;
-using CacheCostTy = int64_t;
+using CacheCostTy = InstructionCost;
----------------
fhahn wrote:
This seems to now just obscure the concrete type?
https://github.com/llvm/llvm-project/pull/111807
More information about the llvm-commits
mailing list