HomePhabricator

[ARM] Make v2f64 scalar_to_vector legal

Authored by dmgreen on Feb 8 2021, 3:34 AM.

Description

[ARM] Make v2f64 scalar_to_vector legal

Because we mark all operations as expand for v2f64, scalar_to_vector
would end up lowering through a stack store/reload. But it is pretty
simple to implement, only inserting a D reg into an undef vector. This
helps clear up some inefficient codegen from soft calling conventions.

Differential Revision: https://reviews.llvm.org/D96153

Details

Committed
dmgreenFeb 8 2021, 3:34 AM
Differential Revision
D96153: [ARM] Make v2f62 scalar_to_vector legal
Parents
rG05433a8d034f: [AMDGPU][MC] Corrected error position for invalid dim modifiers
Branches
Unknown
Tags
Unknown