diff options
author | Craig Topper <craig.topper@intel.com> | 2018-12-21 21:42:43 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-12-21 21:42:43 +0000 |
commit | e58cd9cbc6f5039a45da77713eb68977f01c9f31 (patch) | |
tree | 347412a7bcb652a3696553c12a7c8285bb579da0 /llvm/lib/Transforms/Utils/CodeExtractor.cpp | |
parent | c6027e20d4b6756833e1692baeec78c9a5ff4e5e (diff) | |
download | bcm5719-llvm-e58cd9cbc6f5039a45da77713eb68977f01c9f31.tar.gz bcm5719-llvm-e58cd9cbc6f5039a45da77713eb68977f01c9f31.zip |
[X86] Add isel patterns to match BMI/TBMI instructions when lowering has turned the root nodes into one of the flag producing binops.
This fixes the patterns that have or/and as a root. 'and' is handled differently since thy usually have a CMP wrapped around them.
I had to look for uses of the CF flag because all these nodes have non-standard CF flag behavior. A real or/xor would always clear CF. In practice we shouldn't be using the CF flag from these nodes as far as I know.
Differential Revision: https://reviews.llvm.org/D55813
llvm-svn: 349962
Diffstat (limited to 'llvm/lib/Transforms/Utils/CodeExtractor.cpp')
0 files changed, 0 insertions, 0 deletions