This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Translate llvm.powi intrinsic
ClosedPublic

Authored by arsenm on Jul 17 2020, 8:04 AM.

Details

Summary

There are a few questionable things about this intrinsic and existing
DAG implementation. For some reason the intrinsic hardcodes the second
operand to be scalar-only i32, and SelectionDAG builder makes a
legalization decision based on whether the operand is constant.

Diff Detail

Event Timeline

arsenm created this revision.Jul 17 2020, 8:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 17 2020, 8:04 AM
arsenm updated this revision to Diff 278781.Jul 17 2020, 8:27 AM

Fix that annoying legalizer-info-validation test

This revision is now accepted and ready to land.Jul 21 2020, 2:36 PM