Closed DontBelieveMe closed 2 years ago
Clang helps us out here by inserting (implicit) cast nodes in the AST to deal with integer promotion rules so we should be able to dumb these sext/zext instructions from there and shouldn't need to deal with the complex integer promotion rules ourselves.
Will need to somehow mark up return values though (llvm uses function attributes I think)
Would be a
CompareInsn
with the printed form ofzext
(for zero extension) andsext
(for sign extension). Necessary to correctly & fully implement #10