-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Open
Labels
Description
| Bugzilla Link | 30624 |
| Version | trunk |
| OS | All |
| Depends On | #11397 #27233 #27714 #28375 #29909 #29911 #29981 #30333 #31060 #32931 #36902 #39274 #39366 #39403 #39605 #39606 #46195 |
| Attachments | List of C intrinsics that are lowered to llvm.x86.* LLVM IR intrinsics |
| CC | @topperc,@igor-breger,@RKSimon,@rotateright |
Extended Description
This bug is for tracking the effort of lowering all X86 C intrinsics to target-independent LLVM IR, for all cases that it can be done reasonably.
The attached CSV file was created by Ayman Musa. It should contain a list of all intrinsics which are lowered to calls to llvm.x86.* intrinsics.
The list was created by parsing the Clang tests.
All intrinsics that cannot be lowered to a reasonable LLVM-IR code such that the semantics of the original function are easy to identify at Isel, are marked as so.
Of the 3142 intrinsics functions that appear in the CSV:
- 139 were identified as can be lowered to target-independent IR
- 55 were identified as cannot be lowered to target-independent IR
- 2948 are TBD. (Yes, lots of more work ahead of us).