[PATCH] D99481: [InstCombine] Fix miscompile on GEP+load to icmp fold (PR45210)

Hyeongyu Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 28 17:24:32 PDT 2021


hyeongyukim updated this revision to Diff 348604.
hyeongyukim added a comment.

Mask was modified to work properly even if the pointer size is bigger than 64bit.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99481

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/load-cmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99481.348604.patch
Type: text/x-patch
Size: 4983 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210529/8b993f6b/attachment.bin>


More information about the llvm-commits mailing list