[PATCH] D134950: [CodeGen] Allow targets to define vreg flags
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 19 17:20:08 PDT 2022
qcolombet added a comment.
Hi all,
I've thought a little bit more about this.
Could we handle this with the existing delegate mechanism? (Look at how `MRI_NoteNewVirtualRegister` works.)
That way, you could do whatever target specific thing you want and it won't spill in the generic code.
To do that we may have to lift the limitation that we have only one delegate at a time (and we may need to add a few more hooks to notify the delegate on the events you are interested in.)
How does that sounds?
Cheers,
-Quentin
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134950/new/
https://reviews.llvm.org/D134950
More information about the llvm-commits
mailing list