fix: examples for Adaptive Profile#49
Conversation
dddbedf to
37bed58
Compare
or we get the following error:
llvm-as: adaptive_loops.ll:11:85: error: invalid use of function-local name
call void @__quantum__qis__cnot__body(%Qubit* null, %Qubit* nonnull inttoptr (i64 %0 to %Qubit*))
^
a7b8cca to
f0f8b6e
Compare
|
Hi @swernli, @bettinaheim, could you review this PR? |
|
@swernli I am not seeing a merge button. It's either restricted for Contributors or less likely the CLA bot check also needs to pass. Could you or someone else help merge? |
|
@microsoft-github-policy-service rerun |
|
Hmm... looks like the CLA bot is missing a Personal Access Token to be able to run. @bettinaheim and @billti do you know if you can configure this or otherwise override? It seems I don't have permissions to that part of the repo configuration. |
8897bce to
f0f8b6e
Compare
See my PR at #53 for some context. |
|
@idavis The CLA Assistant still seems broken. Do you think we should consider setting it from scratch? |
|
@qartik Perhaps. I was trying to get it working last week and was running into issues. I'll take another pass at it shortly. |
Good news is that the CLA bot in another repo in this org is working: qir-alliance/.github#46 |
I added section headers for the two primary examples and fixed the syntactic and semantic issues with the example QIR.
@before each cnot call and a terminator inswaptriple, without a label likebody:,%1cannot be used as it is implicitly used for the label for the block and LLVM errors out witherror: instruction expected to be numbered '%2'triple