llvm-project
0d6c3c6f - Revert r235869 - [mips] Avoid redundant sign extension of the result of binary bitwise instructions.

Commit
10 years ago
Revert r235869 - [mips] Avoid redundant sign extension of the result of binary bitwise instructions. It introduced two regressions (MultiSource/Benchmarks/tramp3d-v4/tramp3d-v4, and MultiSource/Applications/kimwitu++/kc) on 3 out of 23 cross-compilation test-runs used by Mips for release validation. The issue is that on 64-bit targets comparisons such as BEQ compare the whole GPR64 but incorrectly tell the instruction selector that they operate on GPR32's. This leads to the elimination of i32->i64 extensions that are actually required by comparisons to work correctly. llvm-svn: 237432
Author
Parents
Loading