aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorJan Leyonberg <jan_sjodin@yahoo.com>2024-04-19 15:50:55 -0400
committerGitHub <noreply@github.com>2024-04-19 15:50:55 -0400
commit0c455ee34823cb991a35e33ff020bb7cc4e44c8a (patch)
tree762b24400af91ab653aa1e1ee9e31a1c634e1b7f /llvm/unittests/Support/VirtualFileSystemTest.cpp
parentc32712d1763d74329b42c1cd68a24d4c0075b596 (diff)
downloadllvm-0c455ee34823cb991a35e33ff020bb7cc4e44c8a.zip
llvm-0c455ee34823cb991a35e33ff020bb7cc4e44c8a.tar.gz
llvm-0c455ee34823cb991a35e33ff020bb7cc4e44c8a.tar.bz2
[flang][OpenMP] Use maxnum/minnum for lowering of max/min reduction operators (#89258)
This patch changes the lowering of max and min to be lowered to arith::MaxNumFop and arith::MinNumFOp instead of using arith::MaximumFOp and arith::MinimumFOp. The arith::MaximumFOp and arith::MinimumFOp map to the corresponding intrinsics llvm.maximum.* and llvm.minimum.* intrinsics which conform to the semantics specified in the draft of IEEE 754-2019, which is not supported by all hardware. Instead using arith::MaximumFOp and arith::MinimumFOp will allow code generation for more targets and match the code generated by clang OpenMP. fixes #87955
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions