[all-commits] [llvm/llvm-project] 0ff5ab: [CIR] Fix 'cir.not' lowering behavior for >64 bit ...

Erich Keane via All-commits all-commits at lists.llvm.org
Tue Sep 22 17:22:38 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ff5abdf5c464312101acfeec8b398eaff43dda8
      https://github.com/llvm/llvm-project/commit/0ff5abdf5c464312101acfeec8b398eaff43dda8
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    A clang/test/CIR/Lowering/not.cir

  Log Message:
  -----------
  [CIR] Fix 'cir.not' lowering behavior for >64 bit size (#225541)

We were only inverting the lower 64 bits because we used the
int64_t/uint64_t overload, which only filled in 64 bits. This patch
replaces that with a 'getAllOnes' of the right size.



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