diff options
author | Dan Gohman <gohman@apple.com> | 2009-06-20 00:35:32 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-06-20 00:35:32 +0000 |
commit | 450f4e0fa9e9ed90f51d9ef12cd045519fd0c8db (patch) | |
tree | 506795b795602f0a633cdad1b8dddcfa606c51f7 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 96c51a8de18ee0675f48a98649fe25175c6b36f8 (diff) | |
download | bcm5719-llvm-450f4e0fa9e9ed90f51d9ef12cd045519fd0c8db.tar.gz bcm5719-llvm-450f4e0fa9e9ed90f51d9ef12cd045519fd0c8db.zip |
Generalize isLoopGuardedByCond's checking to consider two
SCEVUnknowns with identical Instructions to be equal. This allows
it to analze cases such as the attached testcase, where the front-end
has cloned the loop controlling expression. Along with r73805, this
lets IndVarSimplify eliminate all the sign-extend casts in the
loop in the attached testcase.
llvm-svn: 73807
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions