[LLVMdev] Why would one use SExt vs CreateIntCast
Dave Pitsbawn
dpitsbawn at gmail.com
Fri Apr 17 17:37:11 PDT 2015
I'm seeing many APIs which seemingly do the same thing, but they seem to go
through slightly different code paths.
When I think of integer casts I think sign extension, zero extension or
truncation. But there seems to be a IntCast ... which does the same thing?
Why does CreateIntCast API exist (same for FP methods as well)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150417/8bb8e15a/attachment.html>
More information about the llvm-dev
mailing list