[all-commits] [llvm/llvm-project] d5c9ff: [SDAG] Intersect poison-generating flags after CSE...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Wed Jul 3 05:33:08 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d5c9ffd545ebf171346ac69b15fafeee469f0b3c
https://github.com/llvm/llvm-project/commit/d5c9ffd545ebf171346ac69b15fafeee469f0b3c
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
A llvm/test/CodeGen/AArch64/pr96366.ll
M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
A llvm/test/CodeGen/RISCV/pr96366.ll
Log Message:
-----------
[SDAG] Intersect poison-generating flags after CSE (#97434)
This patch fixes a miscompilation when `N` gets CSEed to `Existing`:
```
Existing: t5: i32 = sub nuw Constant:i32<0>, t3
N: t30: i32 = sub Constant:i32<0>, t3
```
Fixes https://github.com/llvm/llvm-project/issues/96366.
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