[PATCH] D77074: [FPEnv][AArch64] Platform-specific builtin constrained FP enablement

Kevin P. Neal via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 30 10:17:01 PDT 2020


kpn created this revision.
kpn added reviewers: t.p.northover, john.brawn, az, dnsampaio, cameron.mcinally.
Herald added subscribers: cfe-commits, danielkiss, arphaman, hiraditya, kristof.beyls.
Herald added a project: clang.

When constrained floating point is enabled the AArch64-specific builtins don't use constrained intrinsics in some cases. Fix that.

Neon is part of this patch, so ARM is affected as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77074

Files:
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/test/CodeGen/aarch64-neon-intrinsics-constrained.c
  clang/test/CodeGen/aarch64-neon-misc-constrained.c
  clang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem-constrained.c
  clang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics-constrained.c
  clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics-constrained.c
  clang/test/CodeGen/arm-neon-directed-rounding-constrained.c
  clang/test/CodeGen/arm64-vrnd-constrained.c
  llvm/include/llvm/IR/Function.h
  llvm/lib/IR/Function.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77074.253626.patch
Type: text/x-patch
Size: 126826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200330/ba2b1384/attachment-0001.bin>


More information about the cfe-commits mailing list