aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCheckDebugify.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2025-01-24 07:20:14 +0000
committerGitHub <noreply@github.com>2025-01-24 07:20:14 +0000
commitddd2f57b29661f21308eec0400fa92a6d075b0c6 (patch)
tree004810b2be0ca2262746d051eeb41bdbc05bf6ef /llvm/lib/CodeGen/MachineCheckDebugify.cpp
parentf6253f8fe9ff43f2f09f8e743bb095a84829154a (diff)
downloadllvm-ddd2f57b29661f21308eec0400fa92a6d075b0c6.zip
llvm-ddd2f57b29661f21308eec0400fa92a6d075b0c6.tar.gz
llvm-ddd2f57b29661f21308eec0400fa92a6d075b0c6.tar.bz2
[X86] Use NSW/NUW flags on ISD::TRUNCATE nodes to improve X86 PACKSS/PACKUS lowering (#123956)
If the NSW/NUW flags are present, then we can assume the source value is within bounds and saturation will not occur with the PACKSS/PACKUS instructions. Fixes #87485
Diffstat (limited to 'llvm/lib/CodeGen/MachineCheckDebugify.cpp')
0 files changed, 0 insertions, 0 deletions