[all-commits] [llvm/llvm-project] fd1f80: [LangRef] Mention that freeze does not consider ag...

Juneyoung Lee via All-commits all-commits at lists.llvm.org
Thu Jul 16 19:54:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fd1f8072a863d7d542165c6bec73f415c65b2482
      https://github.com/llvm/llvm-project/commit/fd1f8072a863d7d542165c6bec73f415c65b2482
  Author: Juneyoung Lee <aqjune at gmail.com>
  Date:   2020-07-17 (Fri, 17 Jul 2020)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [LangRef] Mention that freeze does not consider aggregate's paddings

Make explicit that freeze does not touch paddings of an aggregate.
(Relevant comment: https://reviews.llvm.org/D83752#2152550)

This implies that `v = freeze(load p); store v, q` may still leave undef bits
or poison in memory if `v` is an aggregate, but it still happens for
non-byte integers such as i1.

Differential Revision: https://reviews.llvm.org/D83927




More information about the All-commits mailing list