Skip to content
Snippets Groups Projects
Commit 2ac01a4e authored by Wilco Dijkstra's avatar Wilco Dijkstra
Browse files

AArch64: Remove redundant check in aarch64_simd_mov

The split condition in aarch64_simd_mov uses aarch64_simd_special_constant_p.
While doing the split, it checks the mode before calling
aarch64_maybe_generate_simd_constant.  This risky since it may result in
unexpectedly calling aarch64_split_simd_move instead of
aarch64_maybe_generate_simd_constant.  Since the mode is already checked,
remove the spurious explicit mode check.

gcc/ChangeLog:

	* config/aarch64/aarch64-simd.md (aarch64_simd_mov<VQMOV:mode>):
	Remove redundant mode check.
parent 7c7c895c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment