[PATCH] D76848: [CodeGen][ARM] Error when writing to specific reserved registers in inline asm

Victor Campos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 02:08:48 PDT 2020


vhscampos updated this revision to Diff 254452.
vhscampos added a comment.

The patch has been redone to detect only writes to PC, base pointer and
frame pointer on ARM target. Similar implementations can be done for
other targets as the base class's function is virtual.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76848

Files:
  llvm/include/llvm/CodeGen/TargetRegisterInfo.h
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
  llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
  llvm/test/CodeGen/ARM/inline-asm-reserved-registers.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76848.254452.patch
Type: text/x-patch
Size: 5606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200402/803251d0/attachment.bin>


More information about the llvm-commits mailing list