diff options
author | Aditya Nandakumar <aditya_nandakumar@apple.com> | 2019-02-05 22:14:40 +0000 |
---|---|---|
committer | Aditya Nandakumar <aditya_nandakumar@apple.com> | 2019-02-05 22:14:40 +0000 |
commit | fef7619b05532530fb8277fca749e537a89a7745 (patch) | |
tree | 322363c12ee09dca8e106a03e44545dd1139bbf1 /lldb/packages/Python/lldbsuite/test | |
parent | 4562f420cd4bb62a5d15f51e18e1bc60a217c62b (diff) | |
download | bcm5719-llvm-fef7619b05532530fb8277fca749e537a89a7745.tar.gz bcm5719-llvm-fef7619b05532530fb8277fca749e537a89a7745.zip |
[NFC][GlobalISel]: Add a convenience method to MachineInstrBuilder to simplify getOperand(i).getReg()
https://reviews.llvm.org/D57608
It's a common pattern in GISel to have a MachineInstrBuilder from which we get various regs
(commonly MIB->getOperand(0).getReg()). This adds a helper method and the above can be
replaced with MIB.getReg(0).
llvm-svn: 353223
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions