pscoro updated this revision to Diff 453272.
pscoro added a comment.
Reverted chain revision again, final
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
pscoro updated this revision to Diff 453105.
pscoro added a comment.
Re added chain fix
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Basic
pscoro updated this revision to Diff 452990.
pscoro added a comment.
reverted previous fix
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Ba
pscoro updated this revision to Diff 452740.
pscoro added a comment.
chain input fix
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Basic/Ta
shchenz added inline comments.
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:10744
+Store = DAG.getStore(
+Op->getOperand(0), DL,
+DAG.getNode(ISD::XOR, DL, VT, Load, DAG.getAllOnesConstant(DL, VT)),
Nit: Maybe we need to set the cha
nemanjai accepted this revision.
nemanjai added a comment.
This revision is now accepted and ready to land.
LGTM.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
__
pscoro updated this revision to Diff 451133.
pscoro added a comment.
Small revisions
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Basic/Ta
nemanjai added inline comments.
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:10702
+
+// If SafeStack or !StackProtector, kill_canary is not supported.
+if (MF.getFunction().hasFnAttribute(Attribute::SafeStack) ||
Again, this comment is nothing
pscoro updated this revision to Diff 449683.
pscoro added a comment.
removed comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Basic/T
pscoro marked 8 inline comments as done.
pscoro added inline comments.
Comment at: llvm/test/CodeGen/PowerPC/kill-canary-intrinsic.ll:11
+
+; RUN: llc -verify-machineinstrs -mtriple=powerpc-unknown-aix
-ppc-vsr-nums-as-vr \
+; RUN: -mcpu=pwr8 --ppc-asm-full-reg-names < %s | Fi
pscoro updated this revision to Diff 449299.
pscoro marked 3 inline comments as done.
pscoro added a comment.
Fixed test cases and AIX implementation
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
shchenz added inline comments.
Comment at: clang/test/CodeGen/PowerPC/builtins-ppc-stackprotect.c:11
+// RUN: FileCheck %s
+// RUN: %clang_cc1 -O2 -triple powerpc64-unknown-aix \
+// RUN: -emit-llvm %s -o - -target-cpu pwr7 | \
nit: do we need -O2?
=
lei added inline comments.
Comment at: llvm/test/CodeGen/PowerPC/kill-canary-intrinsic.ll:4
+; RUN: --ppc-asm-full-reg-names < %s | FileCheck %s -check-prefix=AIX
+; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux \
+; RUN: --ppc-asm-full-reg-names < %s | File
pscoro updated this revision to Diff 447102.
pscoro added a comment.
rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Basic/Targets/PPC
shchenz added a comment.
Seems current revision is not right. You select the wrong base commit when you
create the diff?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
__
pscoro updated this revision to Diff 445853.
pscoro added a comment.
formatted comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
Index: llvm/l
pscoro updated this revision to Diff 443630.
pscoro added a comment.
fixed lit test
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Basic/Tar
pscoro added inline comments.
Comment at: llvm/include/llvm/Debuginfod/Debuginfod.h:34
#include
+#include
#include
Im really unsure how this change got in here, this is not added by me and on a
freshly created branch and pull
Any ideas? I'll look into this
pscoro updated this revision to Diff 442678.
pscoro added a comment.
patch fix
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Basic/Targets/
pscoro updated this revision to Diff 442643.
pscoro added a comment.
patch application
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Basic/
pscoro updated this revision to Diff 442640.
pscoro added a comment.
trying to get patch to apply
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang
pscoro updated this revision to Diff 442630.
pscoro added a comment.
patch appication troubleshooting
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
c
pscoro updated this revision to Diff 442627.
pscoro added a comment.
rebased
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Basic/Targets/PP
pscoro updated this revision to Diff 442615.
pscoro added a comment.
trying to localize calng-format again
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.de
nemanjai requested changes to this revision.
nemanjai added a comment.
This revision now requires changes to proceed.
Please run clang-format, rebase and re-upload. It doesn't apply cleanly to ToT.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D12901
Kai added a comment.
Some more nits, otherwise LGTM.
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:11150
+
+const uint64_t XORWord = 0x; // XORing with 0b111...111
will never
+ // result in the original word
pscoro updated this revision to Diff 442368.
pscoro added a comment.
removed commented code
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/B
pscoro updated this revision to Diff 442320.
pscoro added a comment.
small revisions
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Basic/Ta
Kai added a comment.
Did you consider to make this more generalized? From skimming through the
change, I see only 2 ppc-specific things:
- Loading of the canary word
- Value of `XORWord`
The first bullet is solved by the the other inline comment I made.
The second bullet can be solved by using
pscoro updated this revision to Diff 441793.
pscoro added a comment.
Combined aix and linux IR lit tests into a single file
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129016/new/
https://reviews.llvm.org/D129016
Files:
clang/include/clang/Bas
pscoro added inline comments.
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:11150
+
+const uint64_t XORWord = 0x; // XORing with 0b111...111 will never
+ // result in the original word
To address a com
pscoro added a comment.
Sorry about making a separate review for this again, I encountered some
troubles with git and decided that moving my code to a fresh branch would be
quicker than figuring out how to fix the problem, the previous review will be
abandoned.
Repository:
rG LLVM Github Mo
pscoro created this revision.
Herald added subscribers: shchenz, kbarton, hiraditya, nemanjai.
Herald added a project: All.
pscoro requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
Repository:
rG LLVM Github Monorepo
http
33 matches
Mail list logo