diff options
| author | Tim Northover <Tim.Northover@arm.com> | 2012-04-26 08:46:29 +0000 |
|---|---|---|
| committer | Tim Northover <Tim.Northover@arm.com> | 2012-04-26 08:46:29 +0000 |
| commit | 3de97b7a86c2a7075eea208fa3585bb79fa9fca6 (patch) | |
| tree | f473f0e44ddada9cd7c5ef64ef628dbe170d7874 /llvm/test/CodeGen | |
| parent | 34e0f6cba2d1661dba7d222c71997319c63f939a (diff) | |
| download | bcm5719-llvm-3de97b7a86c2a7075eea208fa3585bb79fa9fca6.tar.gz bcm5719-llvm-3de97b7a86c2a7075eea208fa3585bb79fa9fca6.zip | |
Use VLD1 in NEON extenting-load patterns instead of VLDR.
On some cores it's a bad idea for performance to mix VFP and NEON instructions
and since these patterns are NEON anyway, the NEON load should be used.
llvm-svn: 155630
Diffstat (limited to 'llvm/test/CodeGen')
| -rw-r--r-- | llvm/test/CodeGen/ARM/vector-extend-narrow.ll | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/vector-extend-narrow.ll b/llvm/test/CodeGen/ARM/vector-extend-narrow.ll index 1ec36da38f7..8fd3db29197 100644 --- a/llvm/test/CodeGen/ARM/vector-extend-narrow.ll +++ b/llvm/test/CodeGen/ARM/vector-extend-narrow.ll @@ -20,7 +20,9 @@ define float @f(<4 x i16>* nocapture %in) { ; CHECK: g: define float @g(<4 x i8>* nocapture %in) { - ; CHECK: vldr +; Note: vld1 here is reasonably important. Mixing VFP and NEON +; instructions is bad on some cores + ; CHECK: vld1 ; CHECK: vmovl.u8 ; CHECK: vmovl.u16 %1 = load <4 x i8>* %in @@ -47,7 +49,9 @@ define <4 x i8> @h(<4 x float> %v) { ; CHECK: i: define <4 x i8> @i(<4 x i8>* %x) { - ; CHECK: vldr +; Note: vld1 here is reasonably important. Mixing VFP and NEON +; instructions is bad on some cores + ; CHECK: vld1 ; CHECK: vmovl.s8 ; CHECK: vmovl.s16 ; CHECK: vrecpe |

