[PATCH] D103856: [Attributor] Introduce a helper do deal with constant type mismatches
Hideto Ueno via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 17 07:35:41 PDT 2021
uenoku added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:165
+ return &V;
+ if (isa<UndefValue>(V))
+ return UndefValue::get(&Ty);
----------------
Probably poison too
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103856/new/
https://reviews.llvm.org/D103856
More information about the llvm-commits
mailing list