[llvm] [IRBuilder] Refactor FMF interface (PR #121657)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 4 12:06:52 PST 2025
================
@@ -87,6 +87,20 @@ class IRBuilderCallbackInserter : public IRBuilderDefaultInserter {
}
};
+/// This provides a helper for copying FMF from an instruction or setting
+/// specified flags.
+struct FMFSource final {
----------------
nikic wrote:
```suggestion
struct FMFSource {
```
Don't need final for non-virtual classes.
https://github.com/llvm/llvm-project/pull/121657
More information about the llvm-commits
mailing list