Skip to content
Commit 205a78a6 authored by Siddharth Bhat's avatar Siddharth Bhat
Browse files

[ManagedMemoryRewrite] Iterate over operands of the expanded instruction, not...

[ManagedMemoryRewrite] Iterate over operands of the expanded instruction, not the constantexpr itself.

- We should iterate over `I`, which is `Cur` expanded out to an
instruction, and not `Cur` itself.

- This is a bugfix.

Differential Revision: https://reviews.llvm.org/D36923

llvm-svn: 311261
parent d606d2a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment