[all-commits] [llvm/llvm-project] fa5fdf: [CodeGen] Remove extraneous ArrayRef (NFC) (#88601)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Mon Apr 15 11:06:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa5fdfb126f9beeaa2f719930ef951d339f41e36
      https://github.com/llvm/llvm-project/commit/fa5fdfb126f9beeaa2f719930ef951d339f41e36
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-15 (Mon, 15 Apr 2024)

  Changed paths:
    M llvm/lib/CodeGen/LowerEmuTLS.cpp

  Log Message:
  -----------
  [CodeGen] Remove extraneous ArrayRef (NFC) (#88601)

We don't need to create these instances of ArrayRef because
StructType::create and ConstantStruct::get take ArrayRef, and ArrayRef
can be implicitly constructed from C arrays.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list