Skip to content

Commit d19e954

Browse files
[LLVM] Make -use-constant-fp-for-fixed-length-splat the default. (#193264)
1 parent 1f332ae commit d19e954

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

llvm/lib/IR/Constants.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static cl::opt<bool> UseConstantIntForFixedLengthSplat(
4040
"use-constant-int-for-fixed-length-splat", cl::init(false), cl::Hidden,
4141
cl::desc("Use ConstantInt's native fixed-length vector splat support."));
4242
static cl::opt<bool> UseConstantFPForFixedLengthSplat(
43-
"use-constant-fp-for-fixed-length-splat", cl::init(false), cl::Hidden,
43+
"use-constant-fp-for-fixed-length-splat", cl::init(true), cl::Hidden,
4444
cl::desc("Use ConstantFP's native fixed-length vector splat support."));
4545
static cl::opt<bool> UseConstantIntForScalableSplat(
4646
"use-constant-int-for-scalable-splat", cl::init(false), cl::Hidden,

0 commit comments

Comments
 (0)