[all-commits] [llvm/llvm-project] 71be51: [Clang][CodeGen] Emit `llvm.ptrmask` for `align_up...

goldsteinn via All-commits all-commits at lists.llvm.org
Sat Nov 4 12:21:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71be514fa0af996745186816735d69fa8a26f3c9
      https://github.com/llvm/llvm-project/commit/71be514fa0af996745186816735d69fa8a26f3c9
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2023-11-04 (Sat, 04 Nov 2023)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/builtin-align-array.c
    M clang/test/CodeGen/builtin-align.c

  Log Message:
  -----------
  [Clang][CodeGen] Emit `llvm.ptrmask` for `align_up` and `align_down`

Since PR's #69343 and #67166 we probably have enough support for
`llvm.ptrmask` to make it preferable to the GEP stategy.

Closes #71238




More information about the All-commits mailing list