[PATCH] D11044: [ImplicitNullChecks] Be smarter in picking the memory op.
Sanjoy Das
sanjoy at playingwithpointers.com
Thu Jul 9 12:33:20 PDT 2015
On Thu, Jul 9, 2015 at 10:15 AM, Joseph Tremoulet <jotrem at microsoft.com> wrote:
> JosephTremoulet added a comment.
>
> LGTM, aside from the one question.
>
>
> ================
> Comment at: lib/CodeGen/ImplicitNullChecks.cpp:274-278
> @@ +273,7 @@
> +
> + for (auto &MO : MI->defs())
> + RecordOperand(MO);
> +
> + for (auto &IMO : MI->implicit_operands())
> + RecordOperand(IMO);
> + }
> ----------------
> This may just be my ignorance of machine instruction modeling, but this reads like you're taking care to skip explicit use operands; why is that?
Yeah, that's a bug. Thanks for spotting. :)
I'll fix this and check in once llvm.org is back up.
>
>
> http://reviews.llvm.org/D11044
>
>
>
More information about the llvm-commits
mailing list