[PATCH] D112073: [PowerPC] Emit warning when SP is clobbered by asm
Quinn Pham via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 21 08:15:28 PST 2021
quinnp updated this revision to Diff 395687.
quinnp added a comment.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Adressing review comments. Added register alias "sp" for the register "r1".
Added a front end testcase to test the location information and all of the
aliases for "r1". Merged the back end test cases so that we are testing both
"r1" and "x1" in 32bit and 64bit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112073/new/
https://reviews.llvm.org/D112073
Files:
clang/lib/Basic/Targets/PPC.cpp
clang/test/Misc/ppc-inline-asm-clobber-warning.c
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
llvm/lib/Target/PowerPC/PPCRegisterInfo.h
llvm/test/CodeGen/PowerPC/inline-asm-clobber-warning.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112073.395687.patch
Type: text/x-patch
Size: 8060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211221/f30d8dd7/attachment.bin>
More information about the llvm-commits
mailing list