================
@@ -189,7 +189,7 @@ const EHPersonality &EHPersonality::get(CIRGenFunction 
&cgf) {
 static llvm::StringRef getPersonalityFn(CIRGenModule &cgm,
                                         const EHPersonality &personality) {
   // Create the personality function type: i32 (...)
-  mlir::Type i32Ty = cgm.getBuilder().getI32Type();
+  mlir::Type i32Ty = cgm.getBuilder().getSInt32Ty();
----------------
erichkeane wrote:

Horrifying!  Could we change SOMETHING somewhere to match against the type of 
the personality? 

https://github.com/llvm/llvm-project/pull/215901
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to