[all-commits] [llvm/llvm-project] 58014a: [IR] Teach getConstraintString to return StringRef...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sat May 10 13:01:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58014a506dd35df3f24320cf295945ad033d0e8c
      https://github.com/llvm/llvm-project/commit/58014a506dd35df3f24320cf295945ad033d0e8c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-05-10 (Sat, 10 May 2025)

  Changed paths:
    M llvm/include/llvm/IR/InlineAsm.h
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/IR/Core.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [IR] Teach getConstraintString to return StringRef (NFC) (#139401)

With this change, some callers get to use StringRef::starts_with.

I'm planning to teach getAsmString to return StringRef also, but
I'ld like to keep that separate from this patch.



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