[PATCH] D59227: [GlobalISel][Utils] Teach getConstantVRegVal how to look through trunc and z|sext
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 11 14:49:20 PDT 2019
qcolombet added a comment.
I'm going to hold on that one for a little longer.
I wonder how SDAG handle constant during legalization, because I was not expecting that we would not issue the constant for the new type period.
I suspect it works because constants are just not materialized via instructions and maybe we should just ignore them during legalization. (If a constant is illegal, at the end of the legalization process, it should have any users, right?)
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59227/new/
https://reviews.llvm.org/D59227
More information about the llvm-commits
mailing list