aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-05-23 20:17:25 +0000
committerSanjay Patel <spatel@rotateright.com>2019-05-23 20:17:25 +0000
commit7d6c0bce503fd92fa48db88a944b01fa2e7402b4 (patch)
tree966131d5d721bea5ae81b46ae2adba39b4a5dfd8 /clang/lib/Frontend/CompilerInvocation.cpp
parent56d69ef8ca1f2826b1e7c620b871f5074926a43a (diff)
downloadllvm-7d6c0bce503fd92fa48db88a944b01fa2e7402b4.zip
llvm-7d6c0bce503fd92fa48db88a944b01fa2e7402b4.tar.gz
llvm-7d6c0bce503fd92fa48db88a944b01fa2e7402b4.tar.bz2
[DAGCombiner] make folds of binops safe for opcodes that produce >1 value
This is no-functional-change-intended currently because the definition of isBinOp() only includes opcodes that produce 1 value. But if we share that implementation with isCommutativeBinOp() as proposed in D62191, then we need to make sure that the callers bail out for opcodes that they are not prepared to handle correctly. llvm-svn: 361547
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions