junparser added inline comments.
Comment at: clang/test/CodeGen/attr-arm-sve-vector-bits-globals.c:108
+// CHECK-128-NEXT:[[CASTFIXEDSVE:%.*]] = bitcast <2 x i8>* [[SAVED_VALUE]]
to *
+// CHECK-128-NEXT:[[TMP1:%.*]] = load , * [[CASTFIXEDSVE]], align 16, !tbaa [[TBAA6]]
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3afbf898044a: [clang][AArch64][SVE] Handle PRValue under
VLAT <-> VLST cast (authored by junparser).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105097/new
efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.
LGTM
Comment at: clang/test/CodeGen/attr-arm-sve-vector-bits-globals.c:108
+// CHECK-128-NEXT:[[CASTFIXEDSVE:%.*]] = bitcast <2 x i8>* [[SAVED_VALUE]]
to *
+// CHECK
junparser updated this revision to Diff 355484.
junparser added a comment.
address comment
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105097/new/
https://reviews.llvm.org/D105097
Files:
clang/lib/CodeGen/CGExprScalar.cpp
clang/test/CodeGen/
junparser added inline comments.
Comment at: clang/lib/CodeGen/CGExprScalar.cpp:2103
+ if (const CallExpr *CE = dyn_cast(E))
+Ty = CE->getCallReturnType(CGF.getContext());
+
efriedma wrote:
> I don't think we need to call getCallReturnType() here. A
efriedma added inline comments.
Comment at: clang/lib/CodeGen/CGExprScalar.cpp:2103
+ if (const CallExpr *CE = dyn_cast(E))
+Ty = CE->getCallReturnType(CGF.getContext());
+
I don't think we need to call getCallReturnType() here. A call that returns
junparser updated this revision to Diff 355460.
junparser added a comment.
address comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105097/new/
https://reviews.llvm.org/D105097
Files:
clang/lib/CodeGen/CGExprScalar.cpp
clang/test/CodeGen
junparser added inline comments.
Comment at: clang/lib/CodeGen/CGExprScalar.cpp:2120
+ } else
+Addr = EmitLValue(E).getAddress(CGF);
Addr = Builder.CreateElementBitCast(Addr, CGF.ConvertTypeForMem(DestTy));
efriedma wrote:
> junparser wrote:
>
efriedma added inline comments.
Comment at: clang/lib/CodeGen/CGExprScalar.cpp:2120
+ } else
+Addr = EmitLValue(E).getAddress(CGF);
Addr = Builder.CreateElementBitCast(Addr, CGF.ConvertTypeForMem(DestTy));
junparser wrote:
> junparser wrote:
>
junparser added inline comments.
Comment at: clang/lib/CodeGen/CGExprScalar.cpp:2120
+ } else
+Addr = EmitLValue(E).getAddress(CGF);
Addr = Builder.CreateElementBitCast(Addr, CGF.ConvertTypeForMem(DestTy));
junparser wrote:
> efriedma wrote:
>
junparser added inline comments.
Comment at: clang/lib/CodeGen/CGExprScalar.cpp:2120
+ } else
+Addr = EmitLValue(E).getAddress(CGF);
Addr = Builder.CreateElementBitCast(Addr, CGF.ConvertTypeForMem(DestTy));
efriedma wrote:
> I don't think it's
efriedma added inline comments.
Comment at: clang/lib/CodeGen/CGExprScalar.cpp:2120
+ } else
+Addr = EmitLValue(E).getAddress(CGF);
Addr = Builder.CreateElementBitCast(Addr, CGF.ConvertTypeForMem(DestTy));
I don't think it's legal to use EmitL
junparser created this revision.
junparser added reviewers: joechrisellis, c-rhodes, efriedma, aeubanks, bsmith.
Herald added subscribers: psnobl, kristof.beyls, tschuett.
junparser requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This chang
13 matches
Mail list logo