[all-commits] [llvm/llvm-project] 678692: [Core] Skip over target name in intrinsic name loo...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Wed Sep 25 12:02:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6786928c4fe1f9daf720d3b604987de2b013e70b
      https://github.com/llvm/llvm-project/commit/6786928c4fe1f9daf720d3b604987de2b013e70b
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-09-25 (Wed, 25 Sep 2024)

  Changed paths:
    M llvm/include/llvm/IR/Intrinsics.h
    M llvm/lib/IR/Function.cpp
    M llvm/lib/IR/IntrinsicInst.cpp
    M llvm/lib/Transforms/Coroutines/Coroutines.cpp
    M llvm/unittests/IR/IntrinsicsTest.cpp

  Log Message:
  -----------
  [Core] Skip over target name in intrinsic name lookup (#109971)

When searching for an intrinsic name in a target specific slice of the
intrinsic name table, skip over the target prefix. For such cases,
currently the first loop iteration in `lookupLLVMIntrinsicByName` does
nothing (i.e., `Low` and `High` stay unchanged and it does not shrink
down the search window), so we can skip this useless first iteration by
skipping over the target prefix.



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