HomePhabricator

[HIP] Support flush denormals bitcode

Authored by ashi1 on Jun 27 2018, 11:58 AM.

Description

[HIP] Support flush denormals bitcode

Summary:
Use oclc_daz_opt_on.amdgcn.bc bitcode when option fcuda-flush-denormal-to-zero is enabled, otherwise use oclc_daz_opt_off.amdgcn.bc bitcode. Added lit tests to verify that the correct bitcode is linked when -fcuda-flush-denormal-to-zero option is enabled or disabled.

Reviewers: yaxunl, scchan, b-sumner

Reviewed By: yaxunl, scchan, b-sumner

Subscribers: cfe-commits, yaxunl

Differential Revision: https://reviews.llvm.org/D48493

llvm-svn: 335765

Details

Committed
ashi1Jun 27 2018, 11:58 AM
Reviewer
yaxunl
Differential Revision
D48493: [HIP] Support flush denorms bitcode
Parents
rG6535b3562ff1: [ThinLTO] Modify test to help diagnose bot failures
Branches
Unknown
Tags
Unknown