Sirui Mu
Sirui Mu
> Ok, I was thinking we could have a fold operation of sorts to canonicalize this This looks nice. I'll add this in another PR once this PR lands!
Rebased onto the latest `main`.
Rebased onto the latest `main`.
> Pending replies to the questions asked. It seems to me that all questions should be resolved? Am I missing some questions? GitHub does not show my response to your...
Recently I'm trying to propose a CIR assembly style guide. Here are some initial drafts that I have worked out so far. Since I just worked the draft out alone...
> Can you make this into a PR to gh-pages? So we can do any text suggestions as part of that PR and land it as part of the docs...
@bcardosolopes Currently the lowering prepare pass runs only on the LLVMIR lowering path. Should we introduce a similar pass for the MLIR lowering path? Some of the operations listed here...
> Sure, we should just add LoweringPrepare for that pipeline. There shouldn't be anything LLVM specific there, though somethings naturally go that direction (e.g. lowering globals). If we find that...
Actually the body of a switch statement can be neither of `case`, `default`, or compound: ```c++ int f(int x) { switch (x) return 1; return 2; } ``` This is...
Well, things are a little tricky in the case when the body of a `switch` statement is not one of `case`, `default`, or compound. These statements are **NOT** simply unreachable,...