1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test
Arnold Schwaighofer c83f5b493e ARM cost model: Fix costs for some vector selects
I was too pessimistic in r177105. Vector selects that fit into a legal register
type lower just fine. I was mislead by the code fragment that I was using. The
stores/loads that I saw in those cases came from lowering the conditional off
an address.

Changing the code fragment to:

%T0_3 = type <8 x i18>
%T1_3 = type <8 x i1>

define void @func_blend3(%T0_3* %loadaddr, %T0_3* %loadaddr2,
                         %T1_3* %blend, %T0_3* %storeaddr) {
  %v0 = load %T0_3* %loadaddr
  %v1 = load %T0_3* %loadaddr2
==> FROM:
  ;%c = load %T1_3* %blend
==> TO:
  %c = icmp slt %T0_3 %v0, %v1
==> USE:
  %r = select %T1_3 %c, %T0_3 %v0, %T0_3 %v1

  store %T0_3 %r, %T0_3* %storeaddr
  ret void
}

revealed this mistake.

radar://13403975

llvm-svn: 177170
2013-03-15 18:31:01 +00:00
..
Analysis ARM cost model: Fix costs for some vector selects 2013-03-15 18:31:01 +00:00
Archive
Assembler Correct invalid debug info metadata 2013-03-12 19:04:24 +00:00
Bindings/Ocaml
Bitcode
BugPoint
CodeGen ARM cost model: Fix costs for some vector selects 2013-03-15 18:31:01 +00:00
DebugInfo Test that we emit a DW_AT_location for self captured by a block. 2013-03-14 17:54:13 +00:00
ExecutionEngine Corrections for XFAIL armv5 tests 2013-02-28 10:05:10 +00:00
Feature
FileCheck
Instrumentation [ASan] emit instrumentation for initialization order checking by default 2013-03-14 12:38:58 +00:00
Integer
JitListener
Linker
MC Fix the FDE encoding to be relative on ELF. 2013-03-15 05:51:57 +00:00
Object
Other Check isDiscardableIfUnused, rather than hasLocalLinkage, when bumping 2013-03-04 22:40:44 +00:00
Scripts
TableGen
tools
Transforms LoopVectorizer: Insert some white space to make test case more readable 2013-03-14 21:31:09 +00:00
Unit Fixup for r176933: more careful setup of path to llvm-symbolizer 2013-03-15 07:27:49 +00:00
Verifier
YAMLParser
CMakeLists.txt Add llvm-symbolizer as test dependency. 2013-03-13 09:35:18 +00:00
lit.cfg Fixup for r176933: more careful setup of path to llvm-symbolizer 2013-03-15 07:27:49 +00:00
lit.site.cfg.in
Makefile In r169695, the address space limit for tests was replaced with a data 2013-03-12 12:38:10 +00:00
Makefile.tests
TestRunner.sh