diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-09-02 12:10:19 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-09-02 12:10:19 +0000 |
commit | 9d832026206d89fe70ecabec281db8f6699dbebc (patch) | |
tree | ae5f852032987dbdfd3787dea719c05513ba76d6 /llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | |
parent | 49dd68ae7cfa1ad3e95c9552c6cabc85fe927bb3 (diff) | |
download | bcm5719-llvm-9d832026206d89fe70ecabec281db8f6699dbebc.tar.gz bcm5719-llvm-9d832026206d89fe70ecabec281db8f6699dbebc.zip |
Not all targets have efficient ISel code generation for select instructions.
For example, the ARM target does not have efficient ISel handling for vector
selects with scalar conditions. This patch adds a TLI hook which allows the
different targets to report which selects are supported well and which selects
should be converted to CF duting codegen prepare.
llvm-svn: 163093
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions