diff options
author | Amara Emerson <amara.emerson@arm.com> | 2017-08-04 20:19:46 +0000 |
---|---|---|
committer | Amara Emerson <amara.emerson@arm.com> | 2017-08-04 20:19:46 +0000 |
commit | 56dca4e3cae307cb7154c83f43282cad54be88a8 (patch) | |
tree | d192d4e67866c03627b7eedf82b0691a8875cad1 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | fcf8e5e34572c16848378232f1b414a4686a4916 (diff) | |
download | bcm5719-llvm-56dca4e3cae307cb7154c83f43282cad54be88a8.tar.gz bcm5719-llvm-56dca4e3cae307cb7154c83f43282cad54be88a8.zip |
[SCEV] Preserve NSW information for sext(subtract).
Pushes the sext onto the operands of a Sub if NSW is present.
Also adds support for propagating the nowrap flags of the
llvm.ssub.with.overflow intrinsic during analysis.
Differential Revision: https://reviews.llvm.org/D35256
llvm-svn: 310117
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions