[all-commits] [llvm/llvm-project] 18d0a7: [clang][Interp] Implement ComplexToReal casts (#77...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Jan 18 04:55:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18d0a7e4c0d085de4e652e359bdd6778c43ec9bf
      https://github.com/llvm/llvm-project/commit/18d0a7e4c0d085de4e652e359bdd6778c43ec9bf
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/test/AST/Interp/complex.cpp

  Log Message:
  -----------
  [clang][Interp] Implement ComplexToReal casts (#77294)

Add a new emitComplexReal() helper function and use that for the new
casts as well as the old __real implementation.




More information about the All-commits mailing list