[PATCH] D116941: [GlobalISel] Fix incorrect sign extension when combining G_INTTOPTR and G_ADD

Lucas Prates via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 11 01:41:15 PST 2022


pratlucas updated this revision to Diff 398873.
pratlucas added a comment.

Using `APInt` on match/apply functions' interfaces and merging mir test into existing one.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116941

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/combine-ptradd-int2ptr.mir
  llvm/test/CodeGen/AArch64/GlobalISel/inttoptr_add.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116941.398873.patch
Type: text/x-patch
Size: 6212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220111/18a0c557/attachment.bin>


More information about the llvm-commits mailing list