Skip to content

Commit beb6e5b

Browse files
committed
Add const and copy over doc comment
1 parent a7c5a13 commit beb6e5b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

llvm/include/llvm/IR/VectorBuilder.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ class VectorBuilder {
8888
return *this;
8989
}
9090

91-
FastMathFlags &getFastMathFlags() const { return Builder.getFastMathFlags(); }
91+
/// Get the flags to be applied to created floating point ops.
92+
const FastMathFlags &getFastMathFlags() const {
93+
return Builder.getFastMathFlags();
94+
}
9295

9396
// TODO: setStaticVL(ElementCount) for scalable types.
9497

0 commit comments

Comments
 (0)