commit | af6d1abb170ba4f2597802bafbd7be2a67994df9 | [log] [tgz] |
---|---|---|
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | Fri Apr 19 17:10:35 2024 +0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 19 02:18:41 2024 -0700 |
tree | 774eccebed78e6512400748a50c06f7f4a6f313a | |
parent | a5669c25dd9e684c6857cdbdf3ae78431513dc3b [diff] |
[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). GitOrigin-RevId: 2512ce3df51ef57d9e7134bc187c5cd41f2cd10c