[PATCH] D76518: [ARM] CMSE code generation

Momchil Velikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 06:12:10 PDT 2020


chill updated this revision to Diff 262628.
chill added a comment.
This revision is now accepted and ready to land.

The last version of the patch broke compilation with expensive checks - the machine verifier
reported a score of lifetime errors.
In this update, we are more precise with the RegState flags when creating instructions
to save/restore/clear registers around non-secure calls and before return to non-secure state.


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

https://reviews.llvm.org/D76518

Files:
  llvm/lib/Target/ARM/ARMAsmPrinter.cpp
  llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
  llvm/lib/Target/ARM/ARMFastISel.cpp
  llvm/lib/Target/ARM/ARMFrameLowering.cpp
  llvm/lib/Target/ARM/ARMFrameLowering.h
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.h
  llvm/lib/Target/ARM/ARMInstrInfo.td
  llvm/lib/Target/ARM/ARMInstrThumb.td
  llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
  llvm/lib/Target/ARM/ARMMachineFunctionInfo.h
  llvm/lib/Target/ARM/ARMRegisterInfo.td
  llvm/lib/Target/ARM/Thumb1FrameLowering.cpp
  llvm/test/CodeGen/ARM/cmse-clear-float-bigend.mir
  llvm/test/CodeGen/ARM/cmse-clear-float-hard.ll
  llvm/test/CodeGen/ARM/cmse-clear-float-hard2.ll
  llvm/test/CodeGen/ARM/cmse-clear-float-mve.ll
  llvm/test/CodeGen/ARM/cmse-clear-float.ll
  llvm/test/CodeGen/ARM/cmse-clear.ll
  llvm/test/CodeGen/ARM/cmse-clrm-it-block.ll
  llvm/test/CodeGen/ARM/cmse-expand-bxns-ret.mir
  llvm/test/CodeGen/ARM/cmse.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76518.262628.patch
Type: text/x-patch
Size: 172927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200507/0ec7bde5/attachment-0001.bin>


More information about the llvm-commits mailing list