[PATCH] D105946: [PowerPC] Store, load, move from and to registers related builtins

Lei Huang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 14 11:53:31 PDT 2021


lei added a comment.

please add sema checking for pwr8 builtins.



================
Comment at: llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-LoadReserve-StoreCond.ll:80
+declare i32 @llvm.ppc.lharx(i8*)
+define dso_local signext i16 @test_lharx(i16* %a) local_unnamed_addr #0 {
+; CHECK-64-LABEL: test_lharx:
----------------
remove all reference to attributes, `local_unnamed_addr #[0..9]` since it's not in the IR.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105946



More information about the cfe-commits mailing list