c97da7f3a44c2358cc50737e1567cd69d2abe695
We used to combine "sext(setcc x, y, cc) -> (select (setcc x, y, cc), -1, 0)" Instead, we should combine to (select (setcc x, y, cc), T, 0) where the value of T is 1 or -1, depending on the type of the setcc, and getBooleanContents() for the type if it is not i1. This fixes PR28504. llvm-svn: 277371
Description
No description provided
Languages
LLVM
42%
C++
31%
C
13%
Assembly
9.3%
MLIR
1.4%
Other
2.8%