[llvm] r279647 - [SCCP] Don't delete side-effecting instructions
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 24 16:55:28 PDT 2016
On Wed, Aug 24, 2016 at 11:10 AM, Sanjoy Das via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: sanjoy
> Date: Wed Aug 24 13:10:21 2016
> New Revision: 279647
>
> URL: http://llvm.org/viewvc/llvm-project?rev=279647&view=rev
> Log:
> [SCCP] Don't delete side-effecting instructions
>
> I'm not sure if the `!isa<CallInst>(Inst) &&
> !isa<TerminatorInst>(Inst))` bit is correct either, but this fixes the
> case we know is broken.
>
> Modified:
> llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
> llvm/trunk/test/Transforms/SCCP/calltest.ll
Merged to 3.9 in r279689.
Thanks,
Hans
More information about the llvm-commits
mailing list