[PATCH] D25286: Ignore debug info when making optimization decisions in SimplifyCFG.
Dehao Chen via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 6 08:15:17 PDT 2016
danielcdh added inline comments.
> jmolloy wrote in SimplifyCFG.cpp:1484
> You shouldn't have to check this here, because canSinkLastInstruction should have checked it.
>
> Sidenote: I think you need to make sure it's checked in canSinkLastInstruction :)
But canSinkLastInstruction only skips the DbgInfoIntrinsic. If we don't have the logic here, I0 may end up being a DbgInfoIntrinsic?
https://reviews.llvm.org/D25286
More information about the llvm-commits
mailing list