Displaying 1 result from an estimated 1 matches for "allowsgeneric".
2015 Dec 14
2
[GlobalISel][RFC] New verifier stages
...e because I don’t see the implementation you have in mind.
>
> Let me illustrate a rough sketch:
>
> class MyMachinePass {
>
> public:
> // Returns false on error
> bool preCheckIR(MachineFunction &F) {
> MachineVerifier V;
> V.setSSA(true);
> V.allowsGeneric(false);
> return V.verify(F);
> }
>
> // Returns false on error
> void postCheckIR(MachineFunction &F) {
> MachineVerifier V;
> V.setSSA(true);
> V.allowsGeneric(false);
> V.verify(F);
> }
>
> }
>
> This way:
>
> - the Pass...