[llvm-commits] Addition to SplitVectorOp
Villmow, Micah
Micah.Villmow at amd.com
Wed Mar 11 12:11:42 PDT 2009
Ahh, forgot to check svn tot first. Sorry about that.
________________________________
From: llvm-commits-bounces at cs.uiuc.edu
[mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Mon Ping Wang
Sent: Wednesday, March 11, 2009 12:00 PM
To: Commit Messages and Patches for LLVM
Subject: Re: [llvm-commits] Addition to SplitVectorOp
What file/version are you looking at? In llvm tot, split vector does
split vector shifts in LegalizeDAG.cpp and in LegalizeVectorTypes.cpp.
-- Mon Ping
On Mar 11, 2009, at 11:27 AM, Villmow, Micah wrote:
Split vector op does not currently handle splitting vector based shift
operations.
@@ -7206,11 +7206,14 @@
case ISD::AND:
case ISD::OR:
case ISD::XOR:
case ISD::UREM:
case ISD::SREM:
< case ISD::FREM: {
-> case ISD::FREM:
-> case ISD::SHL:
-> case ISD::SRA:
-> case ISD::SRL:{
SDValue LL, LH, RL, RH;
SplitVectorOp(Node->getOperand(0), LL, LH);
SplitVectorOp(Node->getOperand(1), RL, RH);
Lo = DAG.getNode(Node->getOpcode(), NewVT_Lo, LL, RL);
The following code snippet adds in this support.
Micah Villmow
Systems Engineer
Advanced Technology & Performance
Advanced Micro Devices Inc.
S1-609 One AMD Place
Sunnyvale, CA. 94085
P: 408-749-3966
_______________________________________________
llvm-commits mailing list
llvm-commits at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090311/a9905172/attachment.html>
More information about the llvm-commits
mailing list