diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2023-11-13 21:05:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 21:05:05 +0800 |
commit | 44cdbef71560f1a09beefb4b2a96b597b4e6b214 (patch) | |
tree | 98d946bb9817ba1d4d950dc0a18d00f046bda1c4 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 01893b54835ba8c0e97d67361a7b6128cd775565 (diff) | |
download | llvm-44cdbef71560f1a09beefb4b2a96b597b4e6b214.zip llvm-44cdbef71560f1a09beefb4b2a96b597b4e6b214.tar.gz llvm-44cdbef71560f1a09beefb4b2a96b597b4e6b214.tar.bz2 |
[InstCombine] Infer nneg flag from shift users (#71947)
This patch sets `nneg` flag when the zext is only used by a shift.
Alive2: https://alive2.llvm.org/ce/z/h3xKjP
Compile-time impact:
https://llvm-compile-time-tracker.com/compare.php?from=bd611264993f64decbce178d460caf1d1cb05f59&to=26bc473b239010bb24ff1bc39d58b42ecbbc4730&stat=instructions:u
This is an alternative to #71906.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions