================ @@ -32,6 +32,7 @@ #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Instruction.h" #include "llvm/IR/Instructions.h" +#include "llvm/IR/IntrinsicInst.h" ---------------- Keenuts wrote:
It was used in the frontend change: when creating the SGEP, it then had to call the `getResultElementType` function, so instead of doing `cast<SGEP>(Builder.createSGEP())` I found returning the created instruction was better. Is there a reason not to want that? https://github.com/llvm/llvm-project/pull/176145 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
