diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-12-15 11:36:36 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-12-15 11:36:36 +0000 |
commit | 1e1fd9c76119680e4c851baa77d7bf6a1762b8cb (patch) | |
tree | db199d9e739d0893e22ab65569c7d5b36740b642 /llvm/lib/CodeGen | |
parent | 7970eccc89e5cc9b53f6d53c151e30cfe73a0a63 (diff) | |
download | bcm5719-llvm-1e1fd9c76119680e4c851baa77d7bf6a1762b8cb.tar.gz bcm5719-llvm-1e1fd9c76119680e4c851baa77d7bf6a1762b8cb.zip |
[TargetLowering] Add ISD::OR + ISD::XOR handling to SimplifyDemandedVectorElts
Differential Revision: https://reviews.llvm.org/D55600
llvm-svn: 349264
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index c2f1e37c36f..310eee2fb03 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -1769,6 +1769,8 @@ bool TargetLowering::SimplifyDemandedVectorElts( KnownUndef = SrcUndef.zextOrTrunc(NumElts); break; } + case ISD::OR: + case ISD::XOR: case ISD::ADD: case ISD::SUB: case ISD::FADD: |