Phil Tomson via llvm-dev
2016-Jan-13 20:04 UTC
[llvm-dev] Type inference in TableGen DAG patterns
Thanks, that worked. So that's basically a cast, then? I have another question about expanding that pseudo op, but I'll post it separately. Phil On Wed, Jan 13, 2016 at 10:26 AM, Krzysztof Parzyszek via llvm-dev < llvm-dev at lists.llvm.org> wrote:> On 1/13/2016 11:59 AM, Phil Tomson via llvm-dev wrote: > >> >> XSTGInstrInfo.td:908:73: error: expected variable name in dag literal >> >> i64:(XSTGMVINI i64:$addr) >> ^ >> How can this be resolved? >> > > Try (i64 (XSTGMVINI ...)) > > -Krzysztof > > -- > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted > by The Linux Foundation > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160113/7825d68f/attachment.html>
Krzysztof Parzyszek via llvm-dev
2016-Jan-13 21:03 UTC
[llvm-dev] Type inference in TableGen DAG patterns
On 1/13/2016 2:04 PM, Phil Tomson wrote:> Thanks, that worked. So that's basically a cast, then?Yes. -Krzysztof -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
Krzysztof Parzyszek via llvm-dev
2016-Jan-13 21:05 UTC
[llvm-dev] Type inference in TableGen DAG patterns
On 1/13/2016 3:03 PM, Krzysztof Parzyszek via llvm-dev wrote:> On 1/13/2016 2:04 PM, Phil Tomson wrote: >> Thanks, that worked. So that's basically a cast, then? > > Yes.Actually, it's more like "explicitly stating the type". The type here has to agree with the types that tablegen could infer itself. -Krzysztof -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation