166a4e6caab65844a763fb3fd80fe4d95bafe508
(OP (trunc x), (trunc y)) -> (trunc (OP x, y)) Unfortunately this simple change causes dag combine to infinite looping. The problem is the shrink demanded ops optimization tend to canonicalize expressions in the opposite manner. That is badness. This patch disable those optimizations in dag combine but instead it is done as a late pass in sdisel. This also exposes some deficiencies in dag combine and x86 setcc / brcond lowering. Teach them to look pass ISD::TRUNCATE in various places. llvm-svn: 92849
Description
Full LLVM 23.1.5 fork for TMS34010 (compiler target + clang bit-address changes)
3.2 GiB
0 Stars
1 Watchers
0 Forks
Languages
LLVM
42.2%
C++
29.9%
C
12.6%
Assembly
10.2%
MLIR
1.7%
Other
2.9%