diff options
author | Michael Kuperstein <mkuper@google.com> | 2016-08-18 20:08:15 +0000 |
---|---|---|
committer | Michael Kuperstein <mkuper@google.com> | 2016-08-18 20:08:15 +0000 |
commit | 2bc3d4d46c5f19d8433fd088fa95d18f9707bde8 (patch) | |
tree | 1bf251351a4472649c63fb3f1bc7f2f056386f1f /llvm/lib/Target/PowerPC/PPCInstrVSX.td | |
parent | dea5ccb04b8be312456a5bdb6483cfb0fcb5b962 (diff) | |
download | bcm5719-llvm-2bc3d4d46c5f19d8433fd088fa95d18f9707bde8.tar.gz bcm5719-llvm-2bc3d4d46c5f19d8433fd088fa95d18f9707bde8.zip |
[SelectionDAG] Rename fextend -> fpextend, fround -> fpround, frnd -> fround
The names of the tablegen defs now match the names of the ISD nodes.
This makes the world a slightly saner place, as previously "fround" matched
ISD::FP_ROUND and not ISD::FROUND.
Differential Revision: https://reviews.llvm.org/D23597
llvm-svn: 279129
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCInstrVSX.td')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCInstrVSX.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrVSX.td b/llvm/lib/Target/PowerPC/PPCInstrVSX.td index a02ace00a76..e229abd5a7e 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrVSX.td +++ b/llvm/lib/Target/PowerPC/PPCInstrVSX.td @@ -634,7 +634,7 @@ let Uses = [RM] in { def XSRDPI : XX2Form<60, 73, (outs vsfrc:$XT), (ins vsfrc:$XB), "xsrdpi $XT, $XB", IIC_VecFP, - [(set f64:$XT, (frnd f64:$XB))]>; + [(set f64:$XT, (fround f64:$XB))]>; def XSRDPIC : XX2Form<60, 107, (outs vsfrc:$XT), (ins vsfrc:$XB), "xsrdpic $XT, $XB", IIC_VecFP, @@ -655,7 +655,7 @@ let Uses = [RM] in { def XVRDPI : XX2Form<60, 201, (outs vsrc:$XT), (ins vsrc:$XB), "xvrdpi $XT, $XB", IIC_VecFP, - [(set v2f64:$XT, (frnd v2f64:$XB))]>; + [(set v2f64:$XT, (fround v2f64:$XB))]>; def XVRDPIC : XX2Form<60, 235, (outs vsrc:$XT), (ins vsrc:$XB), "xvrdpic $XT, $XB", IIC_VecFP, @@ -676,7 +676,7 @@ let Uses = [RM] in { def XVRSPI : XX2Form<60, 137, (outs vsrc:$XT), (ins vsrc:$XB), "xvrspi $XT, $XB", IIC_VecFP, - [(set v4f32:$XT, (frnd v4f32:$XB))]>; + [(set v4f32:$XT, (fround v4f32:$XB))]>; def XVRSPIC : XX2Form<60, 171, (outs vsrc:$XT), (ins vsrc:$XB), "xvrspic $XT, $XB", IIC_VecFP, @@ -1108,7 +1108,7 @@ let AddedComplexity = 400 in { // Prefer VSX patterns over non-VSX patterns. def : Pat<(f64 (extloadf32 xoaddr:$src)), (COPY_TO_REGCLASS (LXSSPX xoaddr:$src), VSFRC)>; - def : Pat<(f64 (fextend f32:$src)), + def : Pat<(f64 (fpextend f32:$src)), (COPY_TO_REGCLASS $src, VSFRC)>; def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETLT)), |