Open Quuxplusone opened 11 years ago
Bugzilla Link | PR17406 |
Status | NEW |
Importance | P normal |
Reported by | edA-qa mort-ora-y (eda-qa@disemia.com) |
Reported on | 2013-09-29 23:02:02 -0700 |
Last modified on | 2020-04-29 02:16:59 -0700 |
Version | trunk |
Hardware | PC Linux |
CC | chfast@gmail.com, efriedma@quicinc.com, llvm-bugs@lists.llvm.org, llvm-dev@redking.me.uk |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also | PR45649 |
We should print a better error message... but this is definitely not supported: there is no reasonable way for LLVM to actually generate code for this construct.
I think updating the docs might be enough (the IR Reference Guide). It doesn't seem to place restrictions on the use of larger integer types: since add, sub, mul, bit ops, and comparisons, are all supported. But yeah, if I look at the algorithm for multi-word division I can see why you might not wish to support it at the IR level. I'll have to add it as a library routine at a higher level.