Page MenuHomePhabricator

Fix floating point math function attributes definition.
Needs ReviewPublic

Authored by michele.scandale on Fri, May 22, 5:33 PM.

Details

Reviewers
rjmccall
mibintc
Summary

With the support for changing the state of floating point optimizations
within a code block, we need to make sure that the function attributes
related to floating point math optimization are set in a conservative
way w.r.t. the body of the function to prevent illegal transformations
in the backends where such attributes are consumed.

Depends on D80315

Diff Detail

Unit TestsFailed

TimeTest
860 mslibomp.lock::omp_init_lock.c
Script: -- : 'RUN: at line 1'; /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/build/./bin/clang -fopenmp -pthread -fno-experimental-isel -I /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/openmp/runtime/test -I /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/build/projects/openmp/runtime/src -L /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/build/lib -I /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/openmp/runtime/test/ompt /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/openmp/runtime/test/lock/omp_init_lock.c -o /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/build/projects/openmp/runtime/test/lock/Output/omp_init_lock.c.tmp -lm -latomic && /mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang/llvm-project/build/projects/openmp/runtime/test/lock/Output/omp_init_lock.c.tmp

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptFri, May 22, 5:33 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

I'll review this when it's rebased on top of the other commit.