diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2024-03-17 14:15:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-17 14:15:27 +0800 |
commit | 252d01952c087cf0d141f7f281cf60efeb98be41 (patch) | |
tree | 638874bd4384259d55f6751e365d0fe4cbb9a461 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | f84980570d3f85bdf5c9432647c05bae04a735a0 (diff) | |
download | llvm-252d01952c087cf0d141f7f281cf60efeb98be41.zip llvm-252d01952c087cf0d141f7f281cf60efeb98be41.tar.gz llvm-252d01952c087cf0d141f7f281cf60efeb98be41.tar.bz2 |
[InstCombine] Drop UB-implying attrs/metadata after speculating an instruction (#85542)
When speculating an instruction in `InstCombinerImpl::FoldOpIntoSelect`,
the call may result in undefined behavior. This patch drops all
UB-implying attrs/metadata to fix this.
Fixes #85536.
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions