HomePhabricator

[OpenCL] Handle -cl-fp32-correctly-rounded-divide-sqrt

Authored by yaxunl on Aug 9 2016, 1:10 PM.

Description

[OpenCL] Handle -cl-fp32-correctly-rounded-divide-sqrt

Let the driver pass the option to frontend. Do not set precision metadata for division instructions when this option is set. Set function attribute "correctly-rounded-divide-sqrt-fp-math" based on this option.

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

llvm-svn: 278155

Details

Committed
yaxunlAug 9 2016, 1:10 PM
Differential Revision
D22940: [OpenCL] Handle -cl-fp32-correctly-rounded-divide-sqrt
Parents
rGb61346b8b080: regenerate checks and remove 'opt' run dependency
Branches
Unknown
Tags
Unknown