[PATCH] D60975: Convert a masked.gather of at most one element to a masked.load
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 22 12:29:35 PDT 2019
reames marked an inline comment as done.
reames added inline comments.
================
Comment at: test/Transforms/InstCombine/masked_intrinsics.ll:211
+; CHECK-NEXT: [[TMP1:%.*]] = extractelement <4 x <1 x double>*> [[BC]], i64 2
+; CHECK-NEXT: [[UNMASKEDLOAD:%.*]] = load <1 x double>, <1 x double>* [[TMP1]], align 4
+; CHECK-NEXT: [[TMP2:%.*]] = shufflevector <1 x double> [[UNMASKEDLOAD]], <1 x double> undef, <4 x i32> <i32 0, i32 undef, i32 undef, i32 undef>
----------------
Note: This result shows a missed scalarization opportunity.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60975/new/
https://reviews.llvm.org/D60975
More information about the llvm-commits
mailing list