[all-commits] [llvm/llvm-project] a8eb6a: [PowerPC] Treat 'Z' inline asm constraint as a tru...
Nemanja Ivanovic via All-commits
all-commits at lists.llvm.org
Mon Jun 22 16:00:42 PDT 2020
Branch: refs/heads/release/10.x
Home: https://github.com/llvm/llvm-project
Commit: a8eb6a5db7f92bd13379ba51065208ce4ccace19
https://github.com/llvm/llvm-project/commit/a8eb6a5db7f92bd13379ba51065208ce4ccace19
Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
Date: 2020-06-22 (Mon, 22 Jun 2020)
Changed paths:
M clang/lib/Basic/Targets/PPC.h
M clang/test/CodeGen/ppc64-inline-asm.c
Log Message:
-----------
[PowerPC] Treat 'Z' inline asm constraint as a true memory constraint
We currently emit incorrect codegen for this constraint because we set it as a
constraint that allows registers. This will cause the value to be copied to the
stack and that address to be passed as the address. This is not what we want.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=42762
Differential revision: https://reviews.llvm.org/D77542
(cherry picked from commit aede24ecaa08db806fb173faf2de9cff95df8cee)
More information about the All-commits
mailing list