[llvm] [Hexagon] Explicitly truncate constant in UAddSubO (PR #127360)

Brian Cain via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 16 10:05:00 PST 2025


================
@@ -0,0 +1,22 @@
+; RUN: llc -mtriple=hexagon -O0 < %s | FileCheck %s
+; REQUIRES: asserts
----------------
androm3da wrote:

The original failure (#127296) happens with assertions enabled.  I removed it from my latest patch.  But I just tried a build without asserts and it looks like the codegen is no different with this fix.  So IIUC that means I want the asserts back in this test case, right?

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


More information about the llvm-commits mailing list