Skip to content
Snippets Groups Projects
Commit bc068a23 authored by Changpeng Fang's avatar Changpeng Fang Committed by Changpeng Fang
Browse files

pr45260 Don't generate prefetch if the address of base could not be taken.

	* tree-flow.h (may_be_nonaddressable_p): New definition. Make the
	existing static function global.

	*tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): This function
	is changed to global.

	*tree-ssa-loop-prefetch.c (gather_memory_references_ref): Call
	may_be_nonaddressable_p on base, and don't collect this reference
	if the address of the base could not be taken.

From-SVN: r163475
parent f8895c4b
No related branches found
No related tags found
Loading
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