[all-commits] [llvm/llvm-project] adbca5: [IR] Add CallBr intrinsics support

Robert Imschweiler via All-commits all-commits at lists.llvm.org
Mon Nov 3 13:03:05 PST 2025


  Branch: refs/heads/users/ro-i/callbr-intrinsics
  Home:   https://github.com/llvm/llvm-project
  Commit: adbca593dd83f8f74cbfc0d1ba9932e3beb4adb0
      https://github.com/llvm/llvm-project/commit/adbca593dd83f8f74cbfc0d1ba9932e3beb4adb0
  Author: Robert Imschweiler <robert.imschweiler at amd.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
    M llvm/lib/IR/Verifier.cpp
    A llvm/test/Assembler/callbr.ll
    A llvm/test/CodeGen/AMDGPU/callbr-intrinsics.ll
    A llvm/test/Verifier/callbr-intrinsic.ll

  Log Message:
  -----------
  [IR] Add CallBr intrinsics support

This commit adds support for using intrinsics with callbr.
The uses of this will most of the time look like this example:
```llvm
  callbr void @llvm.amdgcn.kill(i1 %c) to label %cont [label %kill]
kill:
  unreachable
cont:
  ...
```



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