[LLVMdev] how the fptrunc ... to .... is supported

Zhang, Kewu Kewu.Zhang at amd.com
Sun May 24 21:04:26 PDT 2015


Dear experts.

I am curious how the "<targettype> = fptrunc <sourcetype> <value> to <targettype>" is supported by the backends?  I searched all llvm directory with "fptrunc" key words, no lucky.

Is it supported by the front end itself?

if I have to support/overide it, which ISD node I should map to?
why there is no such a node like "fptrunc" is defined  so I can write patterns for it?

best
kevin

________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150525/88f2c208/attachment.html>


More information about the llvm-dev mailing list