diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-12-17 01:11:01 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-12-17 01:11:01 +0000 |
commit | 50b8302c5512cbca383e5c09e9f6ef240d149ce2 (patch) | |
tree | 25b10bdbf94b2623e0395b2828ef0e024afa889b /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 769c04ea359e555bd60ae50763427d645d0a396e (diff) | |
download | llvm-50b8302c5512cbca383e5c09e9f6ef240d149ce2.zip llvm-50b8302c5512cbca383e5c09e9f6ef240d149ce2.tar.gz llvm-50b8302c5512cbca383e5c09e9f6ef240d149ce2.tar.bz2 |
LoopVectorizer: Don't if-convert constant expressions that can trap
A phi node operand or an instruction operand could be a constant expression that
can trap (division). Check that we don't vectorize such cases.
PR16729
radar://15653590
llvm-svn: 197449
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions