diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2022-11-03 18:27:47 -0700 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2022-11-07 07:16:47 -0800 |
commit | b9b74fc6e98a6e9bd50a1882b839419c9a6577b2 (patch) | |
tree | e27c4f5444160b141050c6fa66c1776f9a283afb /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 80378a4ca725eeeae940b99220b3913f7b73c895 (diff) | |
download | llvm-b9b74fc6e98a6e9bd50a1882b839419c9a6577b2.zip llvm-b9b74fc6e98a6e9bd50a1882b839419c9a6577b2.tar.gz llvm-b9b74fc6e98a6e9bd50a1882b839419c9a6577b2.tar.bz2 |
InstCombine: Add baseline tests for fcmp and select on denormal range
A future change will try to fold (if input denormals are treated as 0)
fcmp olt fabs(x), smallest_normalized_number -> fcmp oeq x, 0.0
fcmp ult fabs(x), smallest_normalized_number -> fcmp ueq x, 0.0
fcmp oge fabs(x), smallest_normalized_number -> fcmp one x, 0.0
fcmp ult fabs(x), smallest_normalized_number -> fcmp ueq x, 0.0
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions