[all-commits] [llvm/llvm-project] 3045b3: [X86] Add test case for non-power of 2 scatter. NFC
topperc via All-commits
all-commits at lists.llvm.org
Tue Sep 15 23:23:56 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3045b3c3b5dbc4192b9a4057ae165f238b84ddf6
https://github.com/llvm/llvm-project/commit/3045b3c3b5dbc4192b9a4057ae165f238b84ddf6
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-09-15 (Tue, 15 Sep 2020)
Changed paths:
M llvm/test/CodeGen/X86/masked_gather_scatter.ll
Log Message:
-----------
[X86] Add test case for non-power of 2 scatter. NFC
Commit: 41f4cd60d54d94e8dac4bbd8d9961dc8ad4a64fc
https://github.com/llvm/llvm-project/commit/41f4cd60d54d94e8dac4bbd8d9961dc8ad4a64fc
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-09-15 (Tue, 15 Sep 2020)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/CodeGen/X86/masked_gather_scatter.ll
Log Message:
-----------
[X86] Don't scalarize gather/scatters with non-power of 2 element counts. Widen instead.
We can pad the mask with zeros in order to widen. We already do
this for power 2 types that are smaller than a legal type.
Compare: https://github.com/llvm/llvm-project/compare/8ea7ef8eda93...41f4cd60d54d
More information about the All-commits
mailing list