]> granicus.if.org Git - llvm/commit
GlobalISel: Pass the MachineFunction in to reportSelectionError directly
authorJustin Bogner <mail@justinbogner.com>
Fri, 20 Jan 2017 00:16:19 +0000 (00:16 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 20 Jan 2017 00:16:19 +0000 (00:16 +0000)
commit5527bcefd9f33c3d0e5ca8b45caaab2dd0236f38
treebbfb7150a7693e77dc1b05e634a815fa29f1f102
parent8e75c50b78fc86ffb4700f67979ba63ccc12618f
GlobalISel: Pass the MachineFunction in to reportSelectionError directly

Rather than trying to find MF based on the possibly-null MI we've
passed in here, just pass it in directly. It's already available at
all callers anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292544 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/InstructionSelect.cpp