[llvm] [AArch64][InstCombine] Eliminate redundant barrier intrinsics (PR #112023)

Danila Malyutin via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 09:59:20 PDT 2024


================
@@ -0,0 +1,180 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S -passes=instcombine < %s | FileCheck %s
+; ARM64 dmb intrinsics
+
+target triple = "aarch64-unknown-linux-gnu"
+
+declare void @llvm.aarch64.dmb(i32)
+declare void @clobber()
+declare void @pure() memory(none) willreturn nounwind
+
+define void @simple() #0 {
----------------
danilaml wrote:

Will add.

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


More information about the llvm-commits mailing list