================
@@ -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();
----------------
andykaylor wrote:

We weren't checking the signature of the personality function in any of our 
tests. We had checks like this:

`// CIR: cir.func {{.*}} @_Z21try_catch_with_allocav() 
personality(@__gxx_personality_v0)`

But none for the declaration line. So the only effect it was having was to 
cause the ABI lowering to fail, and Adam had disabled the ABI lowering in all 
the tests where that happened.

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