================
@@ -2314,6 +2314,17 @@ Value
*InstCombinerImpl::SimplifyDemandedUseFPClass(Value *V,
Known = KnownVec | KnownInserted;
break;
}
+ case Instruction::ShuffleVector: {
+ KnownFPClass KnownLHS, KnownRHS;
+ if (SimplifyDemandedFPClass(I, 1, DemandedMask, KnownRHS, Depth + 1) ||
+ SimplifyDemandedFPClass(I, 0, DemandedMask, KnownLHS, Depth + 1))
----------------
RKSimon wrote:
DemandedMask can't be passed directly to shufflevector operands, it needs to be
resorted by the mask
https://github.com/llvm/llvm-project/pull/174101
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits