<div dir="ltr">Is there a way to disable integer promotion when performing math operations. For example, when compiling a statement such as this:<div>int8_t a  = 1;</div><div>int8_t b = 2;</div><div>int8_t c = a + b</div><div><br></div><div>The LLVM IR will be:</div><div>%x = sext i32 %a to i32</div><div>%y = sext i32 %b to i32</div><div>%z = add nsw i32 %x, %y</div><div>%c = trunc i32 %z to i16</div><div><br></div><div>Instead, it would simply compile to:</div><div>$c = add nsw i32 %z, $y</div><div><br></div><div>-Dilan Manatunga</div></div>