Issue 66170
Summary How can I disable the ext from i16 to i32 in Clang? When can Clang generate @llvm.sadd.with.overflow.i16?
Labels clang, new issue
Assignees
Reporter zhping8080
    I find that when two i16 numbers or i8 numbers are added, it will be extended to i32.  Even if I choose to compile it with '-fsanitize=undefined'. So, How can generate the intrinsic 'call @llvm.sadd.with.overflow.i16' ? Additional, how can I find the implementation of llvm.sadd.with.overflow.* in LLVM source code? It's a bit challenging for newbies. Thanks!
<img width="305" alt="image" src=""

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to