diff options
author | Craig Topper <craig.topper@intel.com> | 2018-02-04 01:43:48 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-02-04 01:43:48 +0000 |
commit | 8d511a65aff2085eba0ad5c6699fefb1f601a0b5 (patch) | |
tree | 1d26d7773fcc1bbea1cf10bb3e20345279f0cc5a /libcxx/test | |
parent | 17d99f1df4cbee69927a1d2da8dc7a252ade8978 (diff) | |
download | bcm5719-llvm-8d511a65aff2085eba0ad5c6699fefb1f601a0b5.tar.gz bcm5719-llvm-8d511a65aff2085eba0ad5c6699fefb1f601a0b5.zip |
[X86] Add DAG combine to turn (bitcast (and/or/xor (bitcast X), Y)) -> (and/or/xor X, (bitcast Y)) when casting between GPRs and mask operations.
This reduces the number of transitions between k-registers and GPRs, reducing the number of instructions.
There's still some room for improvement to remove more transitions, but this is a good start.
llvm-svn: 324184
Diffstat (limited to 'libcxx/test')
0 files changed, 0 insertions, 0 deletions