This patch enables inserting freeze when JumpThreading converts a select to
a conditional branch when it is run in LTO.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM. Hopefully this will go away soon...
llvm/lib/Passes/PassBuilder.cpp | ||
---|---|---|
1511 | Please use the full name... |
Comment Actions
Hi,
This flag is enabled in LTO. I met a failure on my test program.
It shows
Unsupported instruction encountered llvm/lib/Analysis/CFLGraph.h:260!
It looks like that CFLGraph is unable to support FreezeInst.
Could you give me some suggesion to fix it?
Thanks
Please use the full name...