[PATCH] RISC-V: Move UNSPEC_SSP_SET and UNSPEC_SSP_TEST to correct enum
stack_protect_{set,test}_<mode> were showing up in RTL dumps as UNSPEC_COPYSIGN and UNSPEC_FMV_X_W due to UNSPEC_SSP_SET and UNSPEC_SSP_TEST being put in the unspecv enum instead of unspec. gcc/ChangeLog: * config/riscv/riscv.md: Move UNSPEC_SSP_SET and UNSPEC_SSP_TEST to unspec enum.
This commit is contained in:
parent
33e610110c
commit
ba58506478
1 changed files with 4 additions and 4 deletions
|
@ -99,6 +99,10 @@
|
|||
;; CRC unspecs
|
||||
UNSPEC_CRC
|
||||
UNSPEC_CRC_REV
|
||||
|
||||
;; Stack Smash Protector
|
||||
UNSPEC_SSP_SET
|
||||
UNSPEC_SSP_TEST
|
||||
])
|
||||
|
||||
(define_c_enum "unspecv" [
|
||||
|
@ -123,10 +127,6 @@
|
|||
UNSPECV_FENCE
|
||||
UNSPECV_FENCE_I
|
||||
|
||||
;; Stack Smash Protector
|
||||
UNSPEC_SSP_SET
|
||||
UNSPEC_SSP_TEST
|
||||
|
||||
;; CMO instructions.
|
||||
UNSPECV_CLEAN
|
||||
UNSPECV_FLUSH
|
||||
|
|
Loading…
Add table
Reference in a new issue