[PATCH] D59227: [GlobalISel][Utils] Teach getConstantVRegVal how to look through trunc and z|sext
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 11 12:30:58 PDT 2019
arsenm added a comment.
It seems slightly odd to me for this to look through this. Why wouldn’t the combiner fold casts of constants? Do any of these testcases hit the legalization loop problem you mentioned?
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