HomePhabricator

[PowerPC] Mark jumps as expensive (using using CR bits)

Description

[PowerPC] Mark jumps as expensive (using using CR bits)

On PowerPC, which has a full set of logical operations on (its multiple sets
of) condition-register bits, it is not profitable to break of complex
conditions feeding a jump into multiple jumps. We can turn off this feature of
CGP/SDAGBuilder by marking jumps as "expensive".

P7 test-suite speedups (no regressions):
MultiSource/Benchmarks/FreeBench/pcompress2/pcompress2
-0.626647% +/- 0.323583%
MultiSource/Benchmarks/Olden/power/power
-18.2821% +/- 8.06481%

Details

Committed
hfinkelFeb 11 2015, 5:02 PM
Parents
rL228894: [Sanitizer] Change InitializeFlags() signatures. NFC.
Branches
Unknown
Tags
Unknown