[all-commits] [llvm/llvm-project] 80bbc0: [clang][Interp] Implement inv and neg unary operat...

Timm Bäder via All-commits all-commits at lists.llvm.org
Fri Aug 19 07:05:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80bbc05436d9c98d65b9b3a5f3907346ef3cb095
      https://github.com/llvm/llvm-project/commit/80bbc05436d9c98d65b9b3a5f3907346ef3cb095
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-08-19 (Fri, 19 Aug 2022)

  Changed paths:
    M clang/lib/AST/Interp/Boolean.h
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/lib/AST/Interp/Integral.h
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/AST/Interp/literals.cpp

  Log Message:
  -----------
  [clang][Interp] Implement inv and neg unary operations

Implement negating and inverting values. Also implement
IntegralToBoolean casts so the operations are easier to test.

Differential Revision: https://reviews.llvm.org/D132098




More information about the All-commits mailing list