This is follow up of https://reviews.llvm.org/D66699.
We might get ISEL ICE if we call vec_dss with non const 3rd arg.
Cannot select: intrinsic %llvm.ppc.altivec.dst
We should check the constraints in clang and generate better error
messages.
Paths
| Differential D66748
[PowerPC][Altivec][Clang] Check compile-time constant for vec_dst* ClosedPublic Authored by jsji on Aug 26 2019, 8:42 AM.
Details
Summary This is follow up of https://reviews.llvm.org/D66699. Cannot select: intrinsic %llvm.ppc.altivec.dst We should check the constraints in clang and generate better error
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 4 2019, 12:03 AM Closed by commit rL370912: [PowerPC][Altivec][Clang] Check compile-time constant for vec_dst* (authored by jsji). · Explain WhySep 4 2019, 8:22 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 218718 cfe/trunk/include/clang/Basic/BuiltinsPPC.def
cfe/trunk/lib/Sema/SemaChecking.cpp
cfe/trunk/test/CodeGen/builtins-ppc-error.c
|