Skip to content
Snippets Groups Projects
Commit 7ba2d234 authored by Juzhe-Zhong's avatar Juzhe-Zhong Committed by Pan Li
Browse files

test: Fix FAIL of SAD tests for RVV

RVV didn't explicitly enable SAD optab but we can vectorize it
since loop vectorizer is able to recognize SAD pattern for RVV during analysis.

Current scan check of explicit SAD pattern looks odd,
it should be more reasonable to check recognition of SAD pattern during Loop vectorize analysis.

Other SAD tests like slp-reduc-sad-2.c are checking pattern recognition instead of explicit pattern enable.
Fix SAD dump check to fix the FAILS for RVV.

gcc/testsuite/ChangeLog:

	* gcc.dg/vect/slp-reduc-sad.c: Fix check.
	* gcc.dg/vect/vect-reduc-sad.c: Ditto.
parent d060f8a4
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