diff options
| author | Craig Topper <craig.topper@intel.com> | 2019-06-23 06:06:04 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2019-06-23 06:06:04 +0000 |
| commit | cadd826d0af7a04e98963b08348a963b67e35882 (patch) | |
| tree | 5d7c64d804ce6ab25ba90c342d028995b04833ef /llvm/lib/CodeGen/SelectionDAG | |
| parent | 8d7924560eaf8b02e59ce51aed982ea08df1d0b4 (diff) | |
| download | bcm5719-llvm-cadd826d0af7a04e98963b08348a963b67e35882.tar.gz bcm5719-llvm-cadd826d0af7a04e98963b08348a963b67e35882.zip | |
[X86][SelectionDAG] Cleanup and simplify masked_load/masked_store in tablegen. Use more precise PatFrags for scalar masked load/store.
Rename masked_load/masked_store to masked_ld/masked_st to discourage
their direct use. We need to check truncating/extending and
compressing/expanding before using them. This revealed that
our scalar masked load/store patterns were misusing these.
With those out of the way, renamed masked_load_unaligned and
masked_store_unaligned to remove the "_unaligned". We didn't
check the alignment anyway so the name was somewhat misleading.
Make the aligned versions inherit from masked_load/store instead
from a separate identical version. Merge the 3 different alignments
PatFrags into a single version that uses the VT from the SDNode to
determine the size that the alignment needs to match.
llvm-svn: 364150
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
0 files changed, 0 insertions, 0 deletions

