Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
For some reason the diff is showing the difference between 2 commits on my branch, anyone know how to fix this?
| clang/lib/CodeGen/CGHLSLRuntime.cpp | ||
|---|---|---|
| 367 ↗ | (On Diff #525774) | For some reason arcanist is showing the diff between my 2 latest commits, not between main and my branch, I added this in a previous commit then removed it in my final clean up commit.. |
| clang/lib/CodeGen/CGHLSLRuntime.cpp | ||
|---|---|---|
| 367 ↗ | (On Diff #525774) | If you create it with arc, the command indicates with respect to which other commit the diff is taken, e.g. arc diff HEAD^ is the diff between the currently checked out commit and the previous one (HEAD^). You can do several steps (HEAD^^^ for three) or specify the commit hash explicitly. |
| mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp | ||
|---|---|---|
| 118 | This auto was already here, I changed it in previous commit. It showed up in the diff because I hadn't squashed my changes yet. | |
| mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td | ||
|---|---|---|
| 870–872 | please fit this definition into 80 characters wide | |
| mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp | ||
| 98 | I think the problem with the cast below is that this is passed by reference. You should not pass operation handles by reference. | |
| mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp | ||
|---|---|---|
| 98 | I think I can't pass it by value because it's const though.. | |
| mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp | ||
|---|---|---|
| 98 | If I just try to pass the op into the dyn_cast, it gives this error, which says that the op is a const /home/lily/modular/third-party/llvm-project/llvm/include/llvm/Support/Casting.h:64:65: error: cannot initialize a parameter of type 'mlir::Operation *' with an rvalue of type 'const mlir::LLVM::CallIntrinsicOp * | |
| mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp | ||
|---|---|---|
| 98 | OK, I think I can upcast it to an Operation& to avoid this, and get rid of the copy | |
| mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp | ||
|---|---|---|
| 98 | Dropped the reference, it works now | |
please fit this definition into 80 characters wide