llvm-project
66da6803 - [AArch64][GlobalISel] Add G_FPEXT(G_FCONSTANT) folding (#160902)

Commit
19 hours ago
[AArch64][GlobalISel] Add G_FPEXT(G_FCONSTANT) folding (#160902) This change adds a new folding pattern, folding a G_FPEXT(G_FCONSTANT) to a G_FCONSTANT. To make this work on AArch64, the `G_FCONSTANT` should not be widened due to the `G_FCONSTANT` being converted to a `G_CONSTANT`. This should fix some other floating point combines when the `G_FCONSTANT` is widened due to being an fp16.
Parents
Loading