New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LLVM IR (but not backends) should support integer bitwidths > 64 bits #1577
Comments
Wei, 128-bit integers aren't supported by LLVM yet. We are currently working on I'm making this an enhancement request instead of a bug. |
These patches implement the first increment: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070226/045084.html Implement the first step towards arbitrary precision integer support in |
A plan for the implementation of this feature goes roughly as follows:
|
These patches: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070226/045105.html make the VMCore "clean" with respect to arbitrary precision integers. It passed Next up: getting BCReader/BCWriter/AsmParser/AsmWriter to work with APInt. |
With this patch: The AsmWriter can now produce arbitrary precision integer output for constant http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070226/045110.html |
With these patches: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070226/045190.html LLVM now supports arbitrary precision integers in assembly parsing, bytecode This concludes the "VMCore" changes (step 2) on our way to completing this PR. |
With these patches: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070226/045229.html ConstanRange is now using APInt as its values for the range. This means that |
A variety of small patches have got lib/Transforms and lib/Analysis completely Next up: get LLI working with > 64 bits. |
*** Bug llvm/llvm-bugzilla-archive#1261 has been marked as a duplicate of this bug. *** |
InstructionCombining is now fairly capable at handling odd bit widths. Sheng's Leo: can you update and start driving code through instcombine that is the |
This work (Phase 4) has been completed. |
Extended Description
The llvm-dis in TOT crashed with an example temp.c, which uses 128-bit unsigned
integers. I used the following command:
llvm-gcc -c -emit-llvm -O0 temp.c -o temp.bc
opt -instcombine temp.bc -o combine.bc
llvm-dis combine.bc -f
The text was updated successfully, but these errors were encountered: