That's good. Thanks for your comments.
Feng
From: Martin Jambor
Sent: Thursday, August 29, 2019 11:00 PM
To: Feng Xue OS; gcc-patches@gcc.gnu.org; Jan Hubicka
Subject: Re: [PATCH] Setup predicate for switch default case in IPA (PR
ipa/91089)
Hi
Hi,
On Fri, Jul 12 2019, Feng Xue OS wrote:
> IPA does not construct executability predicate for default case of switch
> statement.
> So execution cost of default case is not properly evaluated in IPA-cp, this
> might
> prevent function clone for function containing switch statement, if certain
IPA does not construct executability predicate for default case of switch
statement.
So execution cost of default case is not properly evaluated in IPA-cp, this
might
prevent function clone for function containing switch statement, if certain
non-default
case is proved to be executed after const