[libc] [compiler-rt] [llvm] [flang] [clang] [libcxx] [msan] Intercept mallinfo2 (PR #73729)

2023-11-29 Thread Ramkumar Ramachandra via cfe-commits
artagnon wrote: Hi, this commit broke the buildbot: ``` /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/msan/Linux/mallinfo.cpp:12:26: error: invalid use of incomplete type 'mallinfo2' 12 | struct mallinfo2 mi2 = mallinfo2(); |

[clang] 2f1399c - clang/APINotes: fix parenthesization of &&, ||

2023-11-29 Thread Ramkumar Ramachandra via cfe-commits
Author: Ramkumar Ramachandra Date: 2023-11-29T18:53:30Z New Revision: 2f1399c73f52aac77afbdd2ba53dd9f1dcbb7c98 URL: https://github.com/llvm/llvm-project/commit/2f1399c73f52aac77afbdd2ba53dd9f1dcbb7c98 DIFF: https://github.com/llvm/llvm-project/commit/2f1399c73f52aac77afbdd2ba53dd9f1dcbb7c98.dif

[clang] 59edb43 - clang/APINotes: squelch a -Wparantheses warning (NFC)

2023-11-24 Thread Ramkumar Ramachandra via cfe-commits
Author: Ramkumar Ramachandra Date: 2023-11-24T09:43:37Z New Revision: 59edb432256064ee4f66c3a30fd4875030c5166b URL: https://github.com/llvm/llvm-project/commit/59edb432256064ee4f66c3a30fd4875030c5166b DIFF: https://github.com/llvm/llvm-project/commit/59edb432256064ee4f66c3a30fd4875030c5166b.dif

[clang] clang/CodeGen/RISCV: test lowering of math builtins (PR #71399)

2023-11-22 Thread Ramkumar Ramachandra via cfe-commits
https://github.com/artagnon closed https://github.com/llvm/llvm-project/pull/71399 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] clang/CodeGen/RISCV: test lowering of math builtins (PR #71399)

2023-11-14 Thread Ramkumar Ramachandra via cfe-commits
artagnon wrote: Gentle ping. https://github.com/llvm/llvm-project/pull/71399 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] clang/CodeGen/RISCV: test lowering of math builtins (PR #71399)

2023-11-06 Thread Ramkumar Ramachandra via cfe-commits
artagnon wrote: The main takeaways here: - There is only ever an i64 variant of llrint produced, and we have tested codegen of that on RV32 and RV64. - Only an i32 variant of lrint is produced on RV32, and an i64 variant on RV64. We have tested the codegen of both. Hence, I would conclude that

[clang] clang/CodeGen/RISCV: test lowering of math builtins (PR #71399)

2023-11-06 Thread Ramkumar Ramachandra via cfe-commits
https://github.com/artagnon created https://github.com/llvm/llvm-project/pull/71399 Ever since 98c90a1 (ISel: introduce vector ISD::LRINT, ISD::LLRINT; custom RISCV lowering) landed, there have been several discussions on how the lrint and llrint libcalls would lower to LLVM IR via clang on RV