HomePhabricator

Fix denormal-fp-math flag and attribute interaction

Authored by arsenm on Mar 11 2020, 2:12 PM.

Description

Fix denormal-fp-math flag and attribute interaction

Make these behave the same way unsafe-fp-math and co. The command line
flag should add the attribute to functions that do not already have
it, and leave existing attributes. The attribute is the actual
implementation, but the flag is useful in some testing situations.

AMDGPU has a variety of tests with denormals enabled/disabled that
would require a painful level of test duplication without a flag. This
doesn't expose setting the separate input/output modes, or add a flag
for the f32 version yet.

Tests will be included in future patch.

Details

Committed
arsenmMar 27 2020, 12:48 PM
Parents
rGc579a5b1d92a: [COFF] Don't treat DWARF sections as GC roots
Branches
Unknown
Tags
Unknown