<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/144260>144260</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Illegal scale INF
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          Naveen7217
      </td>
    </tr>
</table>

<pre>
    Stack dump:
0.      Program arguments: /home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate --import-onnx --mlir-print-debuginfo --xtensa-core-params-file=/home/naveen/xtensa/XtDevTools/install/tools/RI-2021.7-linux/XtensaTools/config/XRC_Vision_Q7-params --config-file=temp/text_encoder.cfg --o=/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/Example/text_encoder/temp/text_encoder/text_encoder.notclean.xth.mlir /home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/Example/text_encoder/temp/cut_model.relay2mixed.onnx.glow.onnx @/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/Example/text_encoder/temp/text_encoder_customop_opt.txt
 #0 0x000064a01eea0f58 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x14eaf58)
 #1 0x000064a01ee9ef4e llvm::sys::RunSignalHandlers() (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x14e8f4e)
 #2 0x000064a01eea18cd SignalHandler(int) Signals.cpp:0:0
 #3 0x0000782a63845330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
 #4 0x000064a020fc6ce3 mlir::Type::getContext() const (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x3610ce3)
 #5 0x000064a020f78589 mlir::RankedTensorType::get(llvm::ArrayRef<long>, mlir::Type, mlir::Attribute) (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x35c2589)
 #6 0x000064a01f5e9c99 (anonymous namespace)::generateFunction(onnx::GraphProto&, llvm::StringMap<llvm::StringRef, llvm::MallocAllocator> const&, mlir::OpBuilder&, llvm::StringMap<onnx::TensorProto const*, llvm::MallocAllocator>&) TranslateFromONNX.cpp:0:0
 #7 0x000064a01f5e5b17 xtensa::translateOnnxToModule(onnx::ModelProto&, mlir::MLIRContext*) (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x1c2fb17)
 #8 0x000064a01f1ca4e8 std::__1::__function::__func<xtensa::translate::registerFromONNXTranslation()::$_1, std::__1::allocator<xtensa::translate::registerFromONNXTranslation()::$_1>, mlir::OwningOpRef<mlir::Operation*> (llvm::SourceMgr&, mlir::MLIRContext*)>::operator()(llvm::SourceMgr&, mlir::MLIRContext*&&) TranslateToMlirRegistration.cpp:0:0
 #9 0x000064a020ecd787 std::__1::__function::__func<mlir::TranslateToMLIRRegistration::TranslateToMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<mlir::OwningOpRef<mlir::Operation*> (llvm::SourceMgr&, mlir::MLIRContext*)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&, std::__1::optional<llvm::Align>)::$_0, std::__1::allocator<mlir::TranslateToMLIRRegistration::TranslateToMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<mlir::OwningOpRef<mlir::Operation*> (llvm::SourceMgr&, mlir::MLIRContext*)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&, std::__1::optional<llvm::Align>)::$_0>, mlir::OwningOpRef<mlir::Operation*> (std::__1::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*)>::operator()(std::__1::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*&&) Translation.cpp:0:0
#10 0x000064a020ecd2ac std::__1::__function::__func<registerTranslateToMLIRFunction(llvm::StringRef, llvm::StringRef, std::__1::function<void (mlir::DialectRegistry&)> const&, std::__1::optional<llvm::Align>, std::__1::function<mlir::OwningOpRef<mlir::Operation*> (std::__1::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*)> const&)::$_0, std::__1::allocator<registerTranslateToMLIRFunction(llvm::StringRef, llvm::StringRef, std::__1::function<void (mlir::DialectRegistry&)> const&, std::__1::optional<llvm::Align>, std::__1::function<mlir::OwningOpRef<mlir::Operation*> (std::__1::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*)> const&)::$_0>, mlir::LogicalResult (std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator()(std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*&&) Translation.cpp:0:0
#11 0x000064a020ecbdf4 mlir::LogicalResult llvm::function_ref<mlir::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::mlirTranslateMain(int, char**, llvm::StringRef)::$_0>(long, std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) MlirTranslateMain.cpp:0:0
#12 0x000064a021015d52 mlir::splitAndProcessBuffer(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<mlir::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, bool, bool) (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x365fd52)
#13 0x000064a020eca7dd mlir::mlirTranslateMain(int, char**, llvm::StringRef) (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x35147dd)
#14 0x000064a01ee6ff2e main (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x14b9f2e)
#15 0x0000782a6382a1ca __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3
#16 0x0000782a6382a28b call_init ./csu/../csu/libc-start.c:128:20
#17 0x0000782a6382a28b __libc_start_main ./csu/../csu/libc-start.c:347:5
#18 0x000064a01ee6fe29 _start (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x14b9e29)
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzsWV1zozgW_TXyCwUF4vvBD-6kvZuqdtKbTm3NGyWLC9ZGSKwk0s6_3xLYwRB3ZzLT7e2amofEWMC955577sGWidasFgBLFH9A8fWCdGYn1fKWPAGIFAfpYivL5-UXQ-ijU3ZNi8IV8le-h_z8s5K1Io1DVN01IIxG4cpBeL2TDSC8Fn0MhNfXoB-NbE-Xfru9vSpCD3t-8YmJbn9YQni9-XRz734g9BFEifB6y-zleyGoaxQRmhMDjuuyppXKuFKIveO6DWfKbRUTxi1h29VMVNJx3b0BoYlLpQK3JYo02q0YBxRenwE5XGxxmGt4epCSa4TXTGhDOEd4bQ4r9zcu9nHgpS4_Au_vPN5BpahYbZfvr4p_M82kKP6VHvI7rjucPwIx0FheDOxNAYLKEpRHq9pxXXke5ru4_LgnTcthlqB_-yrtHIWQhnIgwtubnWcJ_tOdfQsN7UzRyBK4p4CTZ9ywPZSebbFXc_m1P3JQ5F-SlYJ22shGtoVsjWf2BvlW4qHv-Hvf9_0kIn4AQPwqzhzOnxo7HuFKP-vh4LMVZT88D4pQQDgbL1LkayG1UUAahBOErxwmDMK5g3B2gSlC-IO_DyIgVZwhnB8KC6aF5VBFcK6w-058YbUg_J9ElByU7kFfGntWRTBix7OmBBktnQlKhLMDx8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