diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2017-03-01 00:43:39 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2017-03-01 00:43:39 +0000 |
commit | 67d1c7c3c29e0f15842fed4fb8c13dc903cd0b60 (patch) | |
tree | e7235392f81ef4f98bedeb6cda32a4058c809363 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp | |
parent | 3443575c03167a8ef3836b5faed3506f35a8c041 (diff) | |
download | bcm5719-llvm-67d1c7c3c29e0f15842fed4fb8c13dc903cd0b60.tar.gz bcm5719-llvm-67d1c7c3c29e0f15842fed4fb8c13dc903cd0b60.zip |
[GlobalISel] Replace all combined G_EXTRACT uses.
Iterating on the use-list we're modifying doesn't work: after the first
iteration, the use-list iterator will point to a MachineOperand
referencing the new register. This caused us to skip the other uses to
replace.
Instead, use MRI.replaceRegWith(), which accounts for this behavior.
llvm-svn: 296551
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions