summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-09-02 12:10:19 +0000
committerNadav Rotem <nrotem@apple.com>2012-09-02 12:10:19 +0000
commit9d832026206d89fe70ecabec281db8f6699dbebc (patch)
treeae5f852032987dbdfd3787dea719c05513ba76d6 /llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
parent49dd68ae7cfa1ad3e95c9552c6cabc85fe927bb3 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud