[all-commits] [llvm/llvm-project] de0299: [clang][Interp] Handle negative shift amounts corr...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat Jul 13 22:43:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de029943cc5ad0028f16e6ecaffa03e32ffd1a6f
      https://github.com/llvm/llvm-project/commit/de029943cc5ad0028f16e6ecaffa03e32ffd1a6f
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-14 (Sun, 14 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/Interp.h
    M clang/test/AST/Interp/shifts.cpp
    M clang/test/Sema/shift-count-negative.c

  Log Message:
  -----------
  [clang][Interp] Handle negative shift amounts correctly

We need to invert them and use the opposite shift.



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