This revision was automatically updated to reflect the committed changes.
Closed by commit rG67422e429475: [MSP430] Align the _Complex ABI with current
msp430-gcc (authored by atrosinenko).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82646/new/
ht
asl accepted this revision.
asl added a comment.
This revision is now accepted and ready to land.
LGTM, thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82646/new/
https://reviews.llvm.org/D82646
atrosinenko updated this revision to Diff 276480.
atrosinenko added a comment.
Support int/long/long long `_Complex` types (GCC extension). According to
msp430-gcc v9.2.0, they behave identically.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82646
asl added inline comments.
Comment at: clang/test/CodeGen/msp430-abi-complex.c:8
+
+void complex_float_arg_first(float _Complex x, int n) {
+// CHECK-LABEL: @complex_float_arg_first
What's about Complex Int?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE
atrosinenko created this revision.
atrosinenko added reviewers: krisb, awygle, pftbest.
Herald added a project: clang.
Assembler output is checked against msp430-gcc 9.2.0.50 from TI.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D82646
Files:
clang/lib/CodeGen/TargetInfo.cp