[all-commits] [llvm/llvm-project] 590884: [Clang][CodeGen] Stoping emitting alignment assume...

goldsteinn via All-commits all-commits at lists.llvm.org
Mon Nov 6 22:31:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 590884a860ccc5fce50bf0a7eba91ec1bfe71fb6
      https://github.com/llvm/llvm-project/commit/590884a860ccc5fce50bf0a7eba91ec1bfe71fb6
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2023-11-07 (Tue, 07 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] Stoping emitting alignment assumes for `align_{up,down}`

Now that `align_{up,down}` use `llvm.ptrmask` (as of #71238), the
assume doesn't preserve any information that is not still easily
re-computable.

Closes #71295




More information about the All-commits mailing list