[all-commits] [llvm/llvm-project] c76d85: [flang][TBAABuilder] not all loads and stores are ...

Tom Eccles via All-commits all-commits at lists.llvm.org
Fri Mar 8 02:34:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c76d853c176231b991cfc744e7cb69443ddc2268
      https://github.com/llvm/llvm-project/commit/c76d853c176231b991cfc744e7cb69443ddc2268
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-03-08 (Fri, 08 Mar 2024)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/TBAABuilder.cpp

  Log Message:
  -----------
  [flang][TBAABuilder] not all loads and stores are inside of functions (#84305)

TBAA builder assumed that all loads/stores are inside of functions and
hit an assertion once it found loads and stores inside of an
omp::ReductionDeclareOp.

For now just don't add TBAA tags to those loads and stores. They would
end up in a different TBAA tree to the host function after
OpenMPIRBuilder inlines them anyway so there isn't an easy way of making
this work.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list