[PATCH] D78262: [AArch64] Clean up assorted usage of hasOneUse/use_instructions [8/10]

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 18:46:47 PDT 2020


vsk created this revision.
vsk added reviewers: aemerson, paquette.
Herald added subscribers: danielkiss, jfb, hiraditya, kristof.beyls.
Herald added a project: LLVM.

Use the variants of these APIs which skip over debug instructions. This
is mostly a cleanup, but it does fix a debug-variance issue which causes
addsub-shifted.ll and addsub_ext.ll to fail when debug info is inserted
by -mir-debugify.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78262

Files:
  llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
  llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
  llvm/test/CodeGen/AArch64/addsub-shifted.ll
  llvm/test/CodeGen/AArch64/addsub_ext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78262.257932.patch
Type: text/x-patch
Size: 6414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200416/79322667/attachment.bin>


More information about the llvm-commits mailing list