<div dir="ltr">Hello,<div>I came across a consistent behavior in most (if not all) backends,</div><div>when handling conditional branches, specifically those with ISD::BR_CC, everyone </div><div>use TargetLowering::LowerOperation hook to replace the ISD::CONDCODE chain node with constant, and then find it with a pattern using the tablegen.</div><div><br></div><div>I tried using the built in types of llvm to use tablegen and recognize ISD:BR_CC, unfortunately found no way to extract the specific condition of the ISD::CONDCODE, I suppose this is the reason why nobody uses it, but it just means this part of llvm is completely dead code..</div><div><br></div><div>I was wondering if anyone came across this thing, or has any insights on it.</div><div><br></div><div>Thanks,</div><div>Liad.</div></div>