-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Not for this PR, but something to note here: in OG CGM.getIntrinsic
seems to be able to figure out the type of the intrinsic, we should do the same in CIR to make writing these easier:
case X86::BI__builtin_ia32_rdtscp: {
Value *Call = Builder.CreateCall(CGM.getIntrinsic(Intrinsic::x86_rdtscp));
Builder.CreateDefaultAlignedStore(Builder.CreateExtractValue(Call, 1),
Ops[0]);
return Builder.CreateExtractValue(Call, 0);
}
Originally posted by @bcardosolopes in #1686 (comment)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers