[llvm] [LV][NFC] Introduce LoopVectorizationUtils for shared utility functions (PR #194951)
Hassnaa Hamdi via llvm-commits
llvm-commits at lists.llvm.org
Fri May 8 03:39:28 PDT 2026
================
@@ -239,7 +239,7 @@ class LoopVectorizationRequirements {
ExactFPMathInst = I;
}
- Instruction *getExactFPInst() { return ExactFPMathInst; }
+ Instruction *getExactFPInst() const { return ExactFPMathInst; }
----------------
hassnaaHamdi wrote:
They are needed because I'm passing a const instance of the Legality class. I thought about adding them in a separate commit instead of a PR as they are very tiny changes.
https://github.com/llvm/llvm-project/pull/194951
More information about the llvm-commits
mailing list