[PATCH] D141129: [InstCombine] Use KnownBits for lshr/add -> (a + b < a)
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 12 08:25:53 PST 2023
arsenm added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/shift-add.ll:530
%a16 = and i32 %a, 131071 ; 0x1FFFF
%b16 = and i32 %b, 65535 ; 0x65535
%add = add i32 %a16, %b16
----------------
spatel wrote:
> wrong hex value comment - 0xFFFF
There is a rarely used syntax to use hex constants in the IR but I never remember what it is
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141129/new/
https://reviews.llvm.org/D141129
More information about the llvm-commits
mailing list