[PATCH] D70669: [AArch64TTI] Do not return TCC_Free for all unknown intrinsics.

Juergen Ributzka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 15:50:43 PST 2019


ributzka added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:162
+  // AArch64 intrinsics, compute the materialization cost directly.
+  if (IID < Intrinsic::aarch64_addg || IID > Intrinsic::aarch64_udiv)
+    switch (IID) {
----------------
Please convert this to an early return instead.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70669/new/

https://reviews.llvm.org/D70669





More information about the llvm-commits mailing list