[llvm] [Hexagon] Explicitly truncate constant in UAddSubO (PR #127360)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 16 01:21:03 PST 2025
================
@@ -0,0 +1,22 @@
+; RUN: llc -mtriple=hexagon -O0 < %s | FileCheck %s
+; REQUIRES: asserts
+
+target datalayout = "e-m:e-p:32:32:32-a:0-n16:32-i64:64:64-i32:32:32-i16:16:16-i1:8:8-f32:32:32-f64:64:64-v32:32:32-v64:64:64-v512:512:512-v1024:1024:1024-v2048:2048:2048"
+target triple = "hexagon-unknown-linux4.19.0-musl"
----------------
nikic wrote:
You shouldn't need datalayout and triple here (you already pass `-mtriple=hexagon`).
https://github.com/llvm/llvm-project/pull/127360
More information about the llvm-commits
mailing list