[all-commits] [llvm/llvm-project] bff8d9: [clang][aarch64] Fix mangling of bfloat16 neon vec...

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Fri Sep 11 04:40:05 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: bff8d98129e8512ce9dcaed04e49c4f32f3a7e71
      https://github.com/llvm/llvm-project/commit/bff8d98129e8512ce9dcaed04e49c4f32f3a7e71
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2020-09-11 (Fri, 11 Sep 2020)

  Changed paths:
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/test/CodeGenCXX/mangle-neon-vectors.cpp

  Log Message:
  -----------
  [clang][aarch64] Fix mangling of bfloat16 neon vectors

The AAPCS64 specifies the internal type is used for c++ mangling. For
bfloat16 it was defined as `BFloat16` when it should be `Bfloat16`, i.e.
lowercase 'f'.

For more information, see:

https://github.com/ARM-software/abi-aa/blob/master/aapcs64/aapcs64.rst#appendix-support-for-advanced-simd-extensions

Reviewed By: stuij

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

(cherry picked from commit cabd60c26b5df34f096cccca5a915bde3b1d8ee1)




More information about the All-commits mailing list