summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2016-11-17 03:49:01 +0000
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2016-11-17 03:49:01 +0000
commit662e01dfbe98b4588e63f2e171a614d94e615a6f (patch)
treebd1220760c9cdccb931e37624bf4a935d46d0021 /llvm/lib/Target
parentda805c480034ccaaf1af974063be6c40e82308e6 (diff)
downloadbcm5719-llvm-662e01dfbe98b4588e63f2e171a614d94e615a6f.tar.gz
bcm5719-llvm-662e01dfbe98b4588e63f2e171a614d94e615a6f.zip
[AMDGPU] Expand `br_cc` for f16
Differential Revision: https://reviews.llvm.org/D26732 llvm-svn: 287199
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/AMDGPU/SIISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
index 65898fc4b2a..1f90505ca1a 100644
--- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -289,6 +289,7 @@ SITargetLowering::SITargetLowering(const TargetMachine &TM,
setOperationAction(ISD::FSIN, MVT::f16, Promote);
// F16 - VOP2 Actions.
+ setOperationAction(ISD::BR_CC, MVT::f16, Expand);
setOperationAction(ISD::SELECT_CC, MVT::f16, Expand);
setOperationAction(ISD::FMAXNUM, MVT::f16, Legal);
setOperationAction(ISD::FMINNUM, MVT::f16, Legal);
OpenPOWER on IntegriCloud