summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-08-14 05:13:08 +0000
committerBob Wilson <bob.wilson@apple.com>2009-08-14 05:13:08 +0000
commiteb54d51759293efbb004fa4120b24d5e7622091d (patch)
tree3991a8127cd32b96c766d80785334fafbe5cab3b /llvm/lib/Target/ARM/ARMISelLowering.h
parentcce31f68318f807aac3ed2567d5ec5630699db08 (diff)
downloadbcm5719-llvm-eb54d51759293efbb004fa4120b24d5e7622091d.tar.gz
bcm5719-llvm-eb54d51759293efbb004fa4120b24d5e7622091d.zip
Create a new ARM-specific DAG node, VDUP, to represent a splat from a
scalar_to_vector. Generate these VDUP nodes during legalization instead of trying to recognize the pattern during selection. llvm-svn: 78994
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.h')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h
index d98b6ef9878..88dddf2289e 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.h
+++ b/llvm/lib/Target/ARM/ARMISelLowering.h
@@ -115,7 +115,8 @@ namespace llvm {
VGETLANEu, // zero-extend vector extract element
VGETLANEs, // sign-extend vector extract element
- // Vector duplicate lane:
+ // Vector duplicate:
+ VDUP,
VDUPLANE,
// Vector load/store with (de)interleaving
OpenPOWER on IntegriCloud