[all-commits] [llvm/llvm-project] f28e52: [Clang] Change two placeholders from `undef` to `p...

Pedro Lobo via All-commits all-commits at lists.llvm.org
Tue Dec 10 07:58:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f28e52274c83d5ccd03455ef98a3758916998be9
      https://github.com/llvm/llvm-project/commit/f28e52274c83d5ccd03455ef98a3758916998be9
  Author: Pedro Lobo <pedro.lobo at tecnico.ulisboa.pt>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/test/CodeGen/AArch64/sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.c
    M clang/test/CodeGen/RISCV/attr-rvv-vector-bits-bitcast.c
    M clang/test/CodeGen/RISCV/attr-rvv-vector-bits-cast.c
    M clang/test/CodeGen/RISCV/attr-rvv-vector-bits-codegen.c
    M clang/test/CodeGen/RISCV/attr-rvv-vector-bits-globals.c
    M clang/test/CodeGen/attr-arm-sve-vector-bits-bitcast.c
    M clang/test/CodeGen/attr-arm-sve-vector-bits-cast.c
    M clang/test/CodeGen/attr-arm-sve-vector-bits-codegen.c
    M clang/test/CodeGen/attr-arm-sve-vector-bits-globals.c
    M clang/test/CodeGenObjC/arc-ternary-op.m
    M clang/test/CodeGenObjCXX/arc.mm

  Log Message:
  -----------
  [Clang] Change two placeholders from `undef` to `poison` [NFC] (#119141)

- Use `poison` instead of `undef` as a phi operand for an unreachable path (the predecessor
will not go the BB that uses the value of the phi).
- Call `@llvm.vector.insert` with a `poison` subvec when performing a
`bitcast` from a fixed vector to a scalable vector.



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