diff options
author | Fangrui Song <i@maskray.me> | 2025-01-25 13:35:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-25 13:35:11 -0800 |
commit | 2131115be5b9d8b39af80973d9b64c0adc41d38d (patch) | |
tree | 75b713b6dde8c1ab8fff5b3dd1f6c5cd12597b1c /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 77c325b646301e394bcd89c2980b4c2da8af49cd (diff) | |
download | llvm-2131115be5b9d8b39af80973d9b64c0adc41d38d.zip llvm-2131115be5b9d8b39af80973d9b64c0adc41d38d.tar.gz llvm-2131115be5b9d8b39af80973d9b64c0adc41d38d.tar.bz2 |
[InstCombine] Drop Range attribute when simplifying 'fshl' based on demanded bits (#124429)
When simplifying operands based on demanded bits, the return value range
of llvm.fshl might change. Keeping the Range attribute might cause
llvm.fshl to generate a poison and lead to miscompile. Drop the Range
attribute similar to `dropPosonGeneratingFlags` elsewhere.
Fix #124387
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions