[llvm-dev] GVN-Hoist test case not working
Digvijay Gour via llvm-dev
llvm-dev at lists.llvm.org
Mon Apr 8 15:07:52 PDT 2019
On Mon, Apr 8, 2019 at 6:21 PM Tim Northover <t.p.northover at gmail.com>
> On Mon, 8 Apr 2019 at 12:22, Digvijay Gour via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > I was trying a basic example on LLVM GVN Hoist and output differs from
> what I expect. Am I missing something ?
> At -O0 Clang usually attaches the "optnone" attribute to functions it
> generates, which disables all LLVM passes even if they get run. Try
> adding "-Xclang -disable-O0-optnone" to the Clang command line.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev