summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-11-14 21:21:15 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-11-14 21:21:15 +0000
commit8c3d92e7e50c047cfd74d1f59dc179e871169f01 (patch)
tree266d3bd18bf5bec937234a8f9ca77f030e6ed1a0 /clang/lib/Sema/SemaExpr.cpp
parent1ff4c0bf0ba21869e4f7a43843fac11b1244ecf2 (diff)
downloadbcm5719-llvm-8c3d92e7e50c047cfd74d1f59dc179e871169f01.tar.gz
bcm5719-llvm-8c3d92e7e50c047cfd74d1f59dc179e871169f01.zip
InstCombine: Fix infinite loop caused by visitFPTrunc
We would attempt to replace a fptrunc of an frem with an identical fptrunc. This would cause the new fptrunc to be added to the worklist. Of course, this results in an infinite loop because we will keep visiting the newly created fptruncs. This fixes PR21576. llvm-svn: 222040
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud