diff options
author | Elena Demikhovsky <elena.demikhovsky@intel.com> | 2015-02-25 09:46:31 +0000 |
---|---|---|
committer | Elena Demikhovsky <elena.demikhovsky@intel.com> | 2015-02-25 09:46:31 +0000 |
commit | 56eadcf5ce7bb1cc5d3a4d25f40d73c882ef9087 (patch) | |
tree | 7a286df920ed74eab31897c4d5dc3d3303a955c9 /clang/lib/CodeGen/CGException.cpp | |
parent | 3eff5f46d7821f2fa8529c93155f70f717cb71ee (diff) | |
download | llvm-56eadcf5ce7bb1cc5d3a4d25f40d73c882ef9087.zip llvm-56eadcf5ce7bb1cc5d3a4d25f40d73c882ef9087.tar.gz llvm-56eadcf5ce7bb1cc5d3a4d25f40d73c882ef9087.tar.bz2 |
AVX-512: Gather and Scatter patterns
Gather and scatter instructions additionally write to one of the source operands - mask register.
In this case Gather has 2 destination values - the loaded value and the mask.
Till now we did not support code gen pattern for gather - the instruction was generated from
intrinsic only and machine node was hardcoded.
When we introduce the masked_gather node, we need to select instruction automatically,
in the standard way.
I added a flag "hasTwoExplicitDefs" that allows to handle 2 destination operands.
(Some code in the X86InstrFragmentsSIMD.td is commented out, just to split one big
patch in many small patches)
llvm-svn: 230471
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
0 files changed, 0 insertions, 0 deletions