[llvm] [MachineVerifier] Query TargetInstrInfo for PHI nodes. (PR #110507)
Michal Paszkowski via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 13:36:06 PDT 2024
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/110507 at github.com>
https://github.com/michalpaszkowski approved this pull request.
After the discussions at the LLVM Developers' Meeting and general vision other contributors have about GlobalISel, I think this still might be the best way forward. Workarounds in the code gen pipeline significantly contribute both to logical complexity and compilation speed. Also, from a purist point of view, selected instructions should not require any further "selection". Using TII is a reasonable flexibility that in this and other cases may help other targets in the future. Target specific information is used in other cases in MachineVerifier.
I am open to discuss this (e.g. at our next SPIR-V backend meeting on Wednesday next week), but overall the change is justified and rather helps.
https://github.com/llvm/llvm-project/pull/110507
More information about the llvm-commits
mailing list