HomePhabricator

[OpenCL] Add 'denorms-are-zero' function attribute

Description

[OpenCL] Add 'denorms-are-zero' function attribute

Summary:
Generate attribute 'denorms-are-zero'='true' if '-cl-denorms-are-zero'
compile option was specified and 'denorms-are-zero'='false' otherwise.

Patch by krisb

Reviewers: Anastasia, yaxunl

Reviewed By: yaxunl

Subscribers: cfe-commits

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

Details

Committed
AlexeySotkinApr 20 2018, 1:08 AM
Reviewer
yaxunl
Differential Revision
D45808: [OpenCL] Add 'denorms-are-zero' function attribute
Branches
Unknown
Tags
Unknown