[PATCH] D136043: [CodeGen] Replace CCValAssign::Loc with a discriminated union (NFCI)
Thorsten via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 17 10:22:34 PST 2022
tschuett added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/CallingConvLower.h:63
+ // A union discriminated by the kind of the location.
+ union {
+ // When Kind == Register: the register that the value is assigned to.
----------------
You cannot use `std::variant<Register, unsigned, unsigned>`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136043/new/
https://reviews.llvm.org/D136043
More information about the llvm-commits
mailing list