[llvm-dev] LLVM 6.0's LoopUnroll PASS is not able to work?

Leslie Zhai via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 23 21:57:47 PDT 2017


Hi Michael,

Thanks for your hint! -Xclang -disable-O0-optnone works :)


在 2017年10月24日 12:52, Michael Kruse 写道:
> 2017-10-24 6:19 GMT+02:00 Leslie Zhai via llvm-dev 
> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>>:
> > attributes #0 = { noinline nounwind *optnone *uwtable
>
> The optnone attribute (added by clang in -O0) says LLV? to not apply 
> any transformation. Avoid with -Xclang -disable-O0-optnone
>
> Michael
>

-- 
Regards,
Leslie Zhai - https://reviews.llvm.org/p/xiangzhai/





More information about the llvm-dev mailing list