[PATCH] D150422: [ConstantFolding] fold integers whose bitwidth is greater than 63.

Kohei Asano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 18:42:08 PDT 2023


khei4 added a comment.

@nikic Thanks! Sorry, for that failure, it seems I just uploaded a broken test.

Further checking find that current behavior seems to properly fold the non-byte-sized integer by 
https://github.com/llvm/llvm-project/blob/7c1fb94150449db33f2df4567207387710e515b9/llvm/lib/Analysis/ConstantFolding.cpp#L348-L353

if it's loaded with the same type. So I decided to remove the TODO comment and non-byte-integers tests!


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

https://reviews.llvm.org/D150422



More information about the llvm-commits mailing list