[all-commits] [llvm/llvm-project] 4de1fc: [CIR] Add floating-point type descriptors to decod...

adams381 via All-commits all-commits at lists.llvm.org
Mon May 4 09:05:49 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4de1fcaaeda646ba3c12d43e52c05adc3f511931
      https://github.com/llvm/llvm-project/commit/4de1fcaaeda646ba3c12d43e52c05adc3f511931
  Author: adams381 <adams at nvidia.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
    M clang/test/CIR/CodeGen/builtins-x86.c

  Log Message:
  -----------
  [CIR] Add floating-point type descriptors to decodeFixedType (#194483)

`decodeFixedType` in `CIRGenBuiltin.cpp` only handled `Void`, `Integer`, `Vector`, and `Pointer` IIT descriptor kinds.  Any target builtin whose intrinsic signature includes a floating-point type (e.g. `__builtin_ia32_rsqrtps` → `<4 x float>`) hit the default `errorNYI` path, which returned `VoidType`.  `VectorType::get(VoidType, N)` then tripped the MLIR type verifier assertion.

Adds `Half`, `BFloat`, `Float`, `Double`, and `Quad` cases.

Found while building the Eigen test suite with CIR — this was crashing 21 of 135 test files.



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