Skip to content
Snippets Groups Projects
Commit d8c3ace8 authored by Christoph Müllner's avatar Christoph Müllner
Browse files

RISC-V: Make xtheadcondmov-indirect tests robust against instruction reordering


Fixes: c1bc7513 ("RISC-V: const: hide mvconst splitter from IRA")

A recent change broke the xtheadcondmov-indirect tests, because the order of
emitted instructions changed. Since the test is too strict when testing for
a fixed instruction order, let's change the tests to simply count instruction,
like it is done for similar tests.

Reported-by: default avatarPatrick O'Neill <patrick@rivosinc.com>
Signed-off-by: default avatarChristoph Müllner <christoph.muellner@vrull.eu>

gcc/testsuite/ChangeLog:

	* gcc.target/riscv/xtheadcondmov-indirect.c: Make robust against
	instruction reordering.
parent 53a94071
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