[llvm] [Xtensa] Implement sextload i8. (PR #106053)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 03:59:29 PDT 2024


================
@@ -0,0 +1,13 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc --mtriple=xtensa < %s | FileCheck %s
+
+define signext i8 @test_load_i8(i32 noundef %0){
----------------
s-barannikov wrote:

Why don't pass the pointer as an argument?
```suggestion
define signext i8 @test_load_i8(ptr %p){
```

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


More information about the llvm-commits mailing list