[all-commits] [llvm/llvm-project] e2b4ba: [CIR] Add poison attribute (#150760)

Sirui Mu via All-commits all-commits at lists.llvm.org
Sun Jul 27 04:30:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2b4ba04140ecbd2367247334b04490ef9537c7a
      https://github.com/llvm/llvm-project/commit/e2b4ba04140ecbd2367247334b04490ef9537c7a
  Author: Sirui Mu <msrlancern at gmail.com>
  Date:   2025-07-27 (Sun, 27 Jul 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    A clang/test/CIR/Lowering/poison.cir
    M clang/test/CIR/Transforms/bit.cir
    M clang/test/CIR/Transforms/canonicalize.cir

  Log Message:
  -----------
  [CIR] Add poison attribute (#150760)

This patch adds the `#cir.poison` attribute which represents a poison
value. This patch also updates various operation folders to let them
propagate poison values from their inputs to their outputs.



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