[llvm] [InstCombine] Reducing rust i128::midpoint instructions (PR #99614)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 19 07:07:44 PDT 2024


================
@@ -0,0 +1,152 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt < %s -passes=instcombine -S | FileCheck %s
+
+define noundef i128 @xor_lshr_and(i128 noundef %x, i128 noundef %y) unnamed_addr #0 {
----------------
dtcxzyw wrote:

```suggestion
define i128 @xor_lshr_and(i128 %x, i128 %y) {
```
Please remove unused attributes/metadata.


https://github.com/llvm/llvm-project/pull/99614


More information about the llvm-commits mailing list