This is an archive of the discontinued LLVM Phabricator instance.

x86: Fix lowering of libm libcalls w/ fp128 operands
Needs ReviewPublic

Authored by LemonBoy on Oct 24 2021, 1:11 PM.

Details

Summary

The libm functions suffixed with -l work with long double operands, meaning that when targeting x86 those cannot be used when lowering fp128 operations.

Use the alternative naming already employed by other platforms such as PPC, where the ops working on fp128 values are suffixed with 128.

Diff Detail

Event Timeline

LemonBoy created this revision.Oct 24 2021, 1:11 PM
LemonBoy requested review of this revision.Oct 24 2021, 1:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 24 2021, 1:11 PM