commit | add75ccccd96a89fd82ab000ef1f26328d918b49 | [log] [tgz] |
---|---|---|
author | Daniel Sanders <daniel_l_sanders@apple.com> | Tue May 08 22:58:35 2018 +0000 |
committer | Daniel Sanders <daniel_l_sanders@apple.com> | Tue May 08 22:58:35 2018 +0000 |
tree | 09cbde4a6b307b207accbf89c5f54b7bf6e1ab49 | |
parent | 024c2ba46da1077957798d49a922a7dd01a5f2c3 [diff] |
[globalisel] Correct r331816 to check the opcode before calling getOperand(). Fix a silly mistake in my pre-commit changes for r331816. It should check what opcode the insn is before extracting the operands. NFC at the moment since the caller already checked the opcode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331820 91177308-0d34-0410-b5e6-96231b3b80d8