[llvm] [LV][NFC] Introduce LoopVectorizationUtils for shared utility functions (PR #194951)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 03:29:37 PDT 2026


================
@@ -239,7 +239,7 @@ class LoopVectorizationRequirements {
       ExactFPMathInst = I;
   }
 
-  Instruction *getExactFPInst() { return ExactFPMathInst; }
+  Instruction *getExactFPInst() const { return ExactFPMathInst; }
----------------
david-arm wrote:

Why are these changes required? Can these be committed separately?

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


More information about the llvm-commits mailing list