summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-02-06 17:49:36 +0000
committerMatthias Braun <matze@braunis.de>2015-02-06 17:49:36 +0000
commit2e404597f488fd730b2cbac319c42045bd559c3e (patch)
tree98d1414fabe40f467ba2a4eaab38c50fa05a6989 /llvm/lib/Support/CommandLine.cpp
parent123f44a2f6c3b19cf2d0f6a233fedb6da65edebd (diff)
downloadbcm5719-llvm-2e404597f488fd730b2cbac319c42045bd559c3e.tar.gz
bcm5719-llvm-2e404597f488fd730b2cbac319c42045bd559c3e.zip
InstCombine: Combine select sequences into a single select
Normalize select(C0, select(C1, a, b), b) -> select((C0 & C1), a, b) select(C0, a, select(C1, a, b)) -> select((C0 | C1), a, b) This normal form may enable further combines on the And/Or and shortens paths for the values. Many targets prefer the other but can go back easily in CodeGen. Differential Revision: http://reviews.llvm.org/D7399 llvm-svn: 228409
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud