[llvm] r309594 - [IPSCCP] Guard a user of getInitializer with hasDefinitiveInitializer

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 11:14:24 PDT 2017


On Mon, Jul 31, 2017 at 10:47 AM, David Majnemer via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: majnemer
> Date: Mon Jul 31 10:47:07 2017
> New Revision: 309594
>
> URL: http://llvm.org/viewvc/llvm-project?rev=309594&view=rev
> Log:
> [IPSCCP] Guard a user of getInitializer with hasDefinitiveInitializer
>
> We are not allowed to reason about an initializer value without first
> consulting hasDefinitiveInitializer.
>

This should probably be merged to 5.0, as David recommended on IRC.

Thanks,

--
Davide


More information about the llvm-commits mailing list