[all-commits] [llvm/llvm-project] 7d482e: Fix TBAA for unsigned fixed-point types

mikaelholmen via All-commits all-commits at lists.llvm.org
Fri Mar 27 02:36:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d482e9213537d9c5811d9fb68bace8fcb648132
      https://github.com/llvm/llvm-project/commit/7d482e9213537d9c5811d9fb68bace8fcb648132
  Author: Mikael Holmen <mikael.holmen at ericsson.com>
  Date:   2020-03-27 (Fri, 27 Mar 2020)

  Changed paths:
    M clang/lib/CodeGen/CodeGenTBAA.cpp
    A clang/test/CodeGen/fixed-point-tbaa.c

  Log Message:
  -----------
  Fix TBAA for unsigned fixed-point types

Summary:
Unsigned types can alias the corresponding signed types. I don't see
that this is explicitly mentioned in the Embedded-C specification, but
I think it should work the same as for the integer types.

Patch by: materi

Reviewers: ebevhan, leonardchan

Reviewed By: leonardchan

Subscribers: kosarev, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list