[all-commits] [llvm/llvm-project] e0b520: [NFC] [DirectX] Prefix for intrinsics should be dx

Chris B via All-commits all-commits at lists.llvm.org
Wed Jul 6 11:27:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0b520865026828819a63d78f8f8bc77da34c34b
      https://github.com/llvm/llvm-project/commit/e0b520865026828819a63d78f8f8bc77da34c34b
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-07-06 (Wed, 06 Jul 2022)

  Changed paths:
    M llvm/include/llvm/IR/CMakeLists.txt
    M llvm/include/llvm/IR/IntrinsicsDirectX.td
    M llvm/lib/Target/DirectX/DXIL.td
    M llvm/test/CodeGen/DirectX/comput_ids.ll

  Log Message:
  -----------
  [NFC] [DirectX] Prefix for intrinsics should be dx

`dxil` is an architecture supported by the DirectX backend. These
intrinsics will likely be shared with other DirectX architectures like
`dxbc`. Using a common prefix `dx` will make it more intuitive.

Also the `dx` prefix is already set in the Triple, which causes
intrinsics described here to be unmatchable via the ClangBuiltin
mechanism.




More information about the All-commits mailing list