[PATCH] D150422: [ConstantFolding] fold integers whose bitwidth is greater than 63, and not multiplies of 8

Kohei Asano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 13 02:07:51 PDT 2023


khei4 added a comment.

@RKSimon Thank you for the review!

> I'd be surprised if non-byte sized widths work at all - moving to APInt from uint64_t will allow you to remove the 64 bit limit however, so maybe just work on that first?

Yeah, I now find current byte-based folding is broken for well-defined loading for non-byte-size integers... I'll focus on only the removal of a 64-bit limit for this revision:)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150422/new/

https://reviews.llvm.org/D150422



More information about the llvm-commits mailing list