diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-04-20 16:56:34 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-04-20 17:10:16 -0400 |
commit | 1e202e8f393a8bf8a9066482e66ffe2135dde9bf (patch) | |
tree | b8ac4f84bb56f3cb97cbc768b87e8b42273be767 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | a2099d6542b978ae7c604e7d3012f9f00054a859 (diff) | |
download | llvm-1e202e8f393a8bf8a9066482e66ffe2135dde9bf.zip llvm-1e202e8f393a8bf8a9066482e66ffe2135dde9bf.tar.gz llvm-1e202e8f393a8bf8a9066482e66ffe2135dde9bf.tar.bz2 |
[InstCombine] fold shift-of-srem-by-2 to mask+shift
There are several potential srem-by-2 folds
because the result is known {-1,0,1}.
https://alive2.llvm.org/ce/z/LuVyeK
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions