HomePhabricator

[PowerPC] Improve codegen for int-to-fp conversion of subword vector extract

Authored by Conanap on May 11 2021, 12:56 PM.

Description

[PowerPC] Improve codegen for int-to-fp conversion of subword vector extract

When an integer is converted into floating point in subword vector extract,
it can be done in 2 instructions instead of the 3+ instructions it generates
right now. This patch removes the uncessary generation.

Differential: https://reviews.llvm.org/D100604

Details

Committed
ConanapMay 11 2021, 1:00 PM
Parents
rG69069509b2d3: [AArch64][GlobaISel] Mark target generic instructions as HasNoSideEffects.
Branches
Unknown
Tags
Unknown