This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Handle lowering lround on windows, where long is 32 bit
ClosedPublic

Authored by mstorsjo on May 19 2019, 12:22 PM.

Details

Summary

Currently, building code with lround for windows with -fno-math-errno yields this error:

fatal error: error in backend: Cannot select: t2: i32 = lround ConstantFP:f32<1.000000e+02>

t1: f32 = ConstantFP<1.000000e+02>

Diff Detail

Repository
rL LLVM

Event Timeline

mstorsjo created this revision.May 19 2019, 12:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2019, 12:22 PM
This revision is now accepted and ready to land.May 20 2019, 12:30 PM
This revision was automatically updated to reflect the committed changes.