[all-commits] [llvm/llvm-project] 2512ce: [IR] Add support for trunc's nuw/nsw flags in `cop...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Fri Apr 19 02:10:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2512ce3df51ef57d9e7134bc187c5cd41f2cd10c
      https://github.com/llvm/llvm-project/commit/2512ce3df51ef57d9e7134bc187c5cd41f2cd10c
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M llvm/lib/IR/Instruction.cpp
    M llvm/test/Transforms/Scalarizer/basic.ll

  Log Message:
  -----------
  [IR] Add support for trunc's nuw/nsw flags in `copyIRFlags` (#89353)

This patch fixes
https://github.com/llvm/llvm-project/pull/85592#issuecomment-2065865020.

I found this while fixing flag propagation in my
["vectorizer"](https://github.com/dtcxzyw/llvm-codegen-benchmark/blob/main/vectorize.cpp).



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