public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/65950] New: Loop is not vectorized with lto.
@ 2015-04-30 16:50 ysrumyan at gmail dot com
2015-04-30 16:52 ` [Bug lto/65950] " ysrumyan at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ysrumyan at gmail dot com @ 2015-04-30 16:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65950
Bug ID: 65950
Summary: Loop is not vectorized with lto.
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: ysrumyan at gmail dot com
Target Milestone: ---
If we compile attached test-case without lto, e.g. using -Ofast and -fopenmp
loop in foo is vectorized but if we add -flto option it won't be vectorized.
The problem is 'exit' statement in main - if we change it to ordinary return
loop will be vectorized with lto too.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/65950] Loop is not vectorized with lto.
2015-04-30 16:50 [Bug lto/65950] New: Loop is not vectorized with lto ysrumyan at gmail dot com
@ 2015-04-30 16:52 ` ysrumyan at gmail dot com
2015-05-01 1:14 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ysrumyan at gmail dot com @ 2015-04-30 16:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65950
--- Comment #1 from Yuri Rumyantsev <ysrumyan at gmail dot com> ---
Created attachment 35432
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35432&action=edit
test-case to reproduce
Must be compiled with -Ofast and -fopenmp options.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/65950] Loop is not vectorized with lto.
2015-04-30 16:50 [Bug lto/65950] New: Loop is not vectorized with lto ysrumyan at gmail dot com
2015-04-30 16:52 ` [Bug lto/65950] " ysrumyan at gmail dot com
@ 2015-05-01 1:14 ` pinskia at gcc dot gnu.org
2015-05-02 11:47 ` rguenth at gcc dot gnu.org
2015-05-05 9:50 ` ysrumyan at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-05-01 1:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65950
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This vectorized for me with GCC 5.1.0 on aarch64-linux-gnu.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/65950] Loop is not vectorized with lto.
2015-04-30 16:50 [Bug lto/65950] New: Loop is not vectorized with lto ysrumyan at gmail dot com
2015-04-30 16:52 ` [Bug lto/65950] " ysrumyan at gmail dot com
2015-05-01 1:14 ` pinskia at gcc dot gnu.org
@ 2015-05-02 11:47 ` rguenth at gcc dot gnu.org
2015-05-05 9:50 ` ysrumyan at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-05-02 11:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65950
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Do we eventually think the loop is cold?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/65950] Loop is not vectorized with lto.
2015-04-30 16:50 [Bug lto/65950] New: Loop is not vectorized with lto ysrumyan at gmail dot com
` (2 preceding siblings ...)
2015-05-02 11:47 ` rguenth at gcc dot gnu.org
@ 2015-05-05 9:50 ` ysrumyan at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: ysrumyan at gmail dot com @ 2015-05-05 9:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65950
--- Comment #4 from Yuri Rumyantsev <ysrumyan at gmail dot com> ---
The function containing given loop is marked as:
foo/24 (foo) @0x7f39f4b84620
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Read from file: /tmp/ccKAP5Mo.o
Availability: local
First run: 0
Function flags: local nonfreeing_fn unlikely_executed
Called by: main/23
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-05-05 9:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-30 16:50 [Bug lto/65950] New: Loop is not vectorized with lto ysrumyan at gmail dot com
2015-04-30 16:52 ` [Bug lto/65950] " ysrumyan at gmail dot com
2015-05-01 1:14 ` pinskia at gcc dot gnu.org
2015-05-02 11:47 ` rguenth at gcc dot gnu.org
2015-05-05 9:50 ` ysrumyan at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).