diff options
| author | Amara Emerson <aemerson@apple.com> | 2018-08-01 02:17:42 +0000 |
|---|---|---|
| committer | Amara Emerson <aemerson@apple.com> | 2018-08-01 02:17:42 +0000 |
| commit | 6cdfe29d8efaa6987fe708963d65096689f72b14 (patch) | |
| tree | c625d2abda5c115e746e7b4c820ba02ca0e445a4 /llvm/lib/MC | |
| parent | c8e84ff25115ed0da2d6e3a81eac40712b467258 (diff) | |
| download | bcm5719-llvm-6cdfe29d8efaa6987fe708963d65096689f72b14.tar.gz bcm5719-llvm-6cdfe29d8efaa6987fe708963d65096689f72b14.zip | |
[GlobalISel][IRTranslator] Use RPO traversal when visiting blocks to translate.
Previously we were just visiting the blocks in the function in IR order, which
is rather arbitrary. Therefore we wouldn't always visit defs before uses, but
the translation code relies on this assumption in some places.
Only codegen change seen in tests is an elision of a redundant copy.
Fixes PR38396
llvm-svn: 338476
Diffstat (limited to 'llvm/lib/MC')
0 files changed, 0 insertions, 0 deletions

