Skip to content
Snippets Groups Projects
Commit 17c796c7 authored by Fei Gao's avatar Fei Gao Committed by Jeff Law
Browse files

[RISC-V] correct machine mode in save-restore cfi RTL.

gcc/ChangeLog:

	* config/riscv/riscv.cc (riscv_adjust_libcall_cfi_prologue): Use Pmode
	for cfi reg/mem machmode
	(riscv_adjust_libcall_cfi_epilogue): Use Pmode for cfi reg machmode

gcc/testsuite/ChangeLog:

	* gcc.target/riscv/save-restore-cfi-2.c: New test to check machmode
	for cfi reg/mem.
parent da2d75af
No related branches found
No related tags found
No related merge requests found
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