aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2022-01-31 10:42:19 -0800
committerJessica Paquette <jpaquette@apple.com>2022-02-03 14:23:58 -0800
commitc636899dc1fad6ecd0a1846d531df72fc7e76e22 (patch)
treeaa5092f37eed8bedac4c5bc9b3e14c2fc2add1c8 /llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
parent0557c6a7970d174d4c575b667590490d5c9a3539 (diff)
downloadllvm-c636899dc1fad6ecd0a1846d531df72fc7e76e22.zip
llvm-c636899dc1fad6ecd0a1846d531df72fc7e76e22.tar.gz
llvm-c636899dc1fad6ecd0a1846d531df72fc7e76e22.tar.bz2
[GlobalISel] Combine: (G_*MULO x, 0) -> 0 + no carry out
Similar to the following combine in `DAGCombiner::visitMULO`: ``` // fold (mulo x, 0) -> 0 + no carry out if (isNullOrNullSplat(N1)) return CombineTo(N, DAG.getConstant(0, DL, VT), DAG.getConstant(0, DL, CarryVT)); ``` This fixes some generally poor codegen for `*mulo`: https://godbolt.org/z/eTxYsvz8f Differential Revision: https://reviews.llvm.org/D118635
Diffstat (limited to 'llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions