[all-commits] [llvm/llvm-project] b7cb34: [CIR] Enable floating point casts (#144142)

Andy Kaylor via All-commits all-commits at lists.llvm.org
Fri Jun 13 12:41:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7cb34840cd1e8cea932f04d5b4e34b4056cb6de
      https://github.com/llvm/llvm-project/commit/b7cb34840cd1e8cea932f04d5b4e34b4056cb6de
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
    M clang/test/CIR/CodeGen/cast.cpp

  Log Message:
  -----------
  [CIR] Enable floating point casts (#144142)

We already had the code in place to emit CIR floating point cast ops
that get lowered to fpext or fptrunc, but we weren't calling the
function to emit that cast from ScalarExprEmitter::emitScalarCast. This
change adds that call.



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