br_cc definition

Hal Finkel hfinkel at anl.gov
Tue Sep 23 05:42:39 PDT 2014


----- Original Message -----
> From: "deadal nix" <deadalnix at gmail.com>
> To: "llvm-commits" <llvm-commits at cs.uiuc.edu>
> Sent: Tuesday, September 23, 2014 3:20:59 AM
> Subject: br_cc definition
> 
> 
> 
> As per
> http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-August/075321.html ,
> it look like I'm not the only one to want to match br_cc directly.
> So I prepared a patch.

+def SDTBrCC : SDTypeProfile<0, 4, [       // brcc
+  SDTCisVT<0, OtherVT>, SDTCisSameAs<1, 2>, SDTCisVT<3, OtherVT>
+]>;
+

Shouldn't the type constraint for the condition code be SDTCisInt<0>?

 -Hal

> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory



More information about the llvm-commits mailing list