llvm_field
doesn't work as expected when passed to llvm_execute_func
#1375
Labels
subsystem: crucible-llvm
Issues related to LLVM bitcode verification with crucible-llvm
If I have the following files:
Then
f_spec
will verify, as expected:However, if I change the
llvm_execute_func
line to usellvm_field
, like so:Then the proof will no longer work:
I find this rather strange, since I would have expected
llvm_field ss "t"
to be equivalent tott
. This isn't a huge deal, since I can always usett
instead, but I found it strange nonetheless.I originally encountered this in a context where
ss
is computed by an auxiliary SAW function, so I had to do a fair bit of plumbing to get the auxiliary function to return its equivalent oftt
. I could have avoided this extra plumbing ifllvm_field ss "t"
worked as expected.The text was updated successfully, but these errors were encountered: