diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-12-21 16:48:42 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-12-21 16:48:42 +0000 |
commit | 22b4c256e12316a8f2ec5b02ecff606c9b54d438 (patch) | |
tree | 44c80a76f081832615e3d189a1c40e0e0eb648fd /llvm/lib/CodeGen/StackProtector.cpp | |
parent | f52cf3318abb1227d3f27e1f5439ff50c986b7be (diff) | |
download | bcm5719-llvm-22b4c256e12316a8f2ec5b02ecff606c9b54d438.tar.gz bcm5719-llvm-22b4c256e12316a8f2ec5b02ecff606c9b54d438.zip |
Enable (sext x) == C --> x == (trunc C) combine
Extend the existing code which handles this for zext. This makes this
more useful for targets with ZeroOrNegativeOne BooleanContent and
obsoletes a custom combine SI uses for i1 setcc (sext(i1), 0, setne)
since the constant will now be shrunk to i1.
llvm-svn: 224691
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions