[AArch64 costs 18/18] Dump a message if we are unable to cost an insn.

James Greenhalgh james.greenhalgh@arm.com
Thu Mar 27 17:51:00 GMT 2014


Hi,

If we are unable to fully cost an RTX, we should return the default
cost and avoid recursing to the operands. This will bias us towards
picking "bigger" RTX - which presumably have been added as patterns
because somebody expects them to be more efficient.

To aid future debugging and development, we also dump our shortcomings.

Tested on aarch64-none-elf with no issues.

OK for 5.0?

Thanks,
James

---
2014-03-27  James Greenhalgh  <james.greenhalgh@arm.com>

	* config/aarch64/aarch64.c (aarch64_rtx_costs): Handle the case
	where we were unable to cost an RTX.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0018-AArch64-costs-18-18-Dump-a-message-if-we-are-unable-.patch
Type: text/x-patch
Size: 443 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140327/21d3b567/attachment.bin>


More information about the Gcc-patches mailing list