aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-07-20 12:04:23 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-07-20 12:04:33 +0100
commit029e83b401564db2562f0dc68c55563806570872 (patch)
tree7d33be2feb555430c387a8e1abf6f700d468415d /flang/lib/Frontend/CompilerInvocation.cpp
parent4704da1374964c0634d7e17c9f87923666d57396 (diff)
downloadllvm-029e83b401564db2562f0dc68c55563806570872.zip
llvm-029e83b401564db2562f0dc68c55563806570872.tar.gz
llvm-029e83b401564db2562f0dc68c55563806570872.tar.bz2
[DAG] getNode - don't bother creating ADDO(X,0) or SUBO(X,0) nodes.
Similar to what we already do in getNode for basic ADD/SUB nodes, return the X operand directly, but here we know that there will be no/zero overflow as well. As noted on D127115 - this path is being exercised by llvm/test/CodeGen/ARM/dsp-mlal.ll, although I haven't been able to get any codegen without a topological worklist.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions