[PATCH] D125556: [APInt] Allow extending and truncating to the same width
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 13 10:53:12 PDT 2022
craig.topper added a comment.
In D125556#3512222 <https://reviews.llvm.org/D125556#3512222>, @craig.topper wrote:
> Can we make truncOrSelf, zextOrSelf, sextOrSelf aliases now?
Oh I see those functions allow the BitWidth to not be equal. That feels like an unintentional hole. What happens if we add an assert to those?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125556/new/
https://reviews.llvm.org/D125556
More information about the llvm-commits
mailing list