llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

arm_sve.h exposes some internal only preprocessor macro definitions.

Open mgabka opened this issue 4 years ago • 6 comments

arm_sve.h file does not clean up internally defined preprocessor macros. This may cause collisions with other libraries or system headers. The macros are :

#define __ai static __inline__ __attribute__((__always_inline__, __nodebug__))
#define __aio static __inline__ __attribute__((__always_inline__, __nodebug__, __overloadable__))

These marcos should not be visible outside of this header file.

mgabka avatar Aug 11 '22 12:08 mgabka

fix https://reviews.llvm.org/D131580

mgabka avatar Aug 11 '22 12:08 mgabka

@llvm/issue-subscribers-backend-aarch64

llvmbot avatar Aug 11 '22 13:08 llvmbot

Should this be backported? Run the cherry-pick command in that case.

tru avatar Aug 11 '22 14:08 tru

/cherry-pick 48e1250a91d244741c8677fed248ace1fcd7c41c

paulwalker-arm avatar Aug 15 '22 10:08 paulwalker-arm

/branch llvm/llvm-project-release-prs/issue57083

llvmbot avatar Aug 15 '22 10:08 llvmbot

/pull-request llvm/llvm-project-release-prs#108

llvmbot avatar Aug 15 '22 10:08 llvmbot