This is an archive of the discontinued LLVM Phabricator instance.

[flang] Enable LoongArch for x86CompatibleBehavior in floating point flag
ClosedPublic

Authored by SixWeining on Feb 1 2023, 7:29 PM.

Details

Summary

Similar to D138503 for RISC-V which fix the flang-OldUnit test failure:

.../llvm-project/flang/unittests/Evaluate/real.cpp:504: FAIL:
FlagsToBits(prod.flags) == 0x18, not 0x10
0 0x800001 * 0xbf7ffffe

With this patch applied, check-flang all pass.

Depends on D143131.

Diff Detail

Event Timeline

SixWeining created this revision.Feb 1 2023, 7:29 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 1 2023, 7:29 PM
SixWeining requested review of this revision.Feb 1 2023, 7:29 PM
vzakhari accepted this revision.Feb 3 2023, 12:36 PM
This revision is now accepted and ready to land.Feb 3 2023, 12:36 PM