forked from OSchip/llvm-project
01434f9377
The VOP3 form should always be the preferred selection, to be shrunk later. This should only be an optimization issue, but this partially works around a problem from clobbering VCC when SIFixSGPRCopies rewrites an SCC defining operation directly to VCC. 3 of the testcases are regressions from failing to fold the immediate in cases it should. These can be avoided by improving the VCC liveness handling in SIFoldOperands. Simply increasing the threshold to computeRegisterLiveness works, although this is common enough that VCC liveness should probably be tracked throughout the pass. The hack of leaving behind an implicit_def instruction to avoid breaking iterator wastes instruction count, which inhibits finding the VCC def in long chains of adds. Doing this however exposes different, worse looking regressions from poor scheduling behavior. This could probably be avoided around by forcing the shrink of the addc here, but the scheduler should probably be fixed. The r600 add test needs to be split out because it asserts on the arguments in the new test during the calling convention lowering. llvm-svn: 360293 |
||
---|---|---|
.. | ||
AArch64 | ||
AMDGPU | ||
ARM | ||
Hexagon | ||
Inputs | ||
Mips | ||
PowerPC | ||
WebAssembly | ||
X86 | ||
all-headers.test | ||
archive-headers.test | ||
call-absolute-symbol-elf.test | ||
coff-file.test | ||
coff-import-library.test | ||
coff-large-bss.test | ||
coff-many-relocs.test | ||
coff-non-null-terminated-file.test | ||
coff-private-headers.test | ||
common-symbol-elf.test | ||
eh_frame-arm64.test | ||
eh_frame-coff.test | ||
eh_frame-mipsel.test | ||
eh_frame_zero_cie.test | ||
elf-dynamic-section-machine-specific.test | ||
elf-dynamic-section.test | ||
embedded-source.test | ||
file-headers-coff.test | ||
file-headers-elf.test | ||
file-headers-pe.test | ||
file-headers-unsupported.test | ||
full-contents.test | ||
hex-relocation-addr.test | ||
invalid-input.test | ||
macho-LLVM-bundle.test | ||
macho-bad-bind.test | ||
macho-bad-dysymtab.test | ||
macho-bad-ordinal.test | ||
macho-bad-trie.test | ||
macho-bind.test | ||
macho-bind2.test | ||
macho-compact-unwind-i386.test | ||
macho-compact-unwind-x86_64.test | ||
macho-exports-trie.test | ||
macho-lazy-bind.test | ||
macho-objc-meta-data.test | ||
macho-rebase.test | ||
macho-sections.test | ||
macho-unwind-info-arm64.test | ||
macho-unwind-info-no-relocs.test | ||
macho-unwind-info-x86_64.test | ||
macho-weak-bind.test | ||
malformed-archives.test | ||
malformed-macho.test | ||
malformed-unwind-x86_64.test | ||
non-archive-object.test | ||
option-grouping.test | ||
private-headers-dynamic-section.test | ||
private-headers-no-dynamic-segment.test | ||
private-headers-no-dynamic.test | ||
proc-specific-section-elf.test | ||
relocations-elf.test | ||
section-filter.test | ||
symbol-table-elf.test | ||
verdef-elf.test | ||
verneed-elf.test | ||
verneed-wrong-info.test | ||
wasm-corrupt-section.test | ||
wasm.txt | ||
win64-unwind-data.test | ||
xcoff-section-headers.test |