Reputation: 352
#include <stdio.h>
#include <string.h>
int main (){
unsigned short int a = 10;
if (a == 10){
//something
}
}
In an LLVM pass, how would I detect 2 operand integer comparison conditional statements like the one shown above: (a == 10)? Please let me know what I should look for in the LLVM api.
Upvotes: 1
Views: 685