<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [PowerPC] Assertion failed: ((N->getSimpleValueType(0) == MVT::i64 || N->getSimpleValueType(0) == MVT::i32) && "Expecting either i64 or i32 here."), function mayUseP9Setb"
   href="https://bugs.llvm.org/show_bug.cgi?id=44506">44506</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[PowerPC] Assertion failed: ((N->getSimpleValueType(0) == MVT::i64 || N->getSimpleValueType(0) == MVT::i32) && "Expecting either i64 or i32 here."), function mayUseP9Setb
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: PowerPC
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>chmeeedalf@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, nemanja.i.ibm@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hit the assertion in the summary when building the FreeBSD kernel targeting
power9.  Will attach the file and script.

Assertion failed: ((N->getSimpleValueType(0) == MVT::i64 ||
N->getSimpleValueType(0) == MVT::i32) && "Expecting either i64 or i32 here."),
function mayUseP9Setb, file
llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp, line 4222.
Stack dump:                                                       
0.      Program arguments: /usr/bin/cc -cc1 -triple
powerpc64-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name
vm_swapout.c -mrelocation-model pic -pic-level 2 -mthread-m
odel posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases -ffreestanding
-fuse-init-array -target-cpu pwr9 -target-feature -altivec -target-feature
-hard-float -target-featur
e +secure-plt -msoft-float -mfloat-abi soft -target-abi elfv2
-dwarf-column-info -debug-info-kind=standalone -dwarf-version=2
-debugger-tuning=gdb -momit-leaf-frame-pointer -coverag
e-notes-file
/ralga/scratch/chmeee/builds/ralga/home/chmeee/freebsd-head/powerpc.powerpc64/sys/RALGA/vm_swapout.gcno
-nostdsysteminc -nobuiltininc -resource-dir /usr/lib/clang/9.0.1
 -dependency-file .depend.vm_swapout.o -sys-header-deps -MT vm_swapout.o
-include opt_global.h -I . -I /home/chmeee/freebsd-head/sys -I
/home/chmeee/freebsd-head/sys/contrib/ck/incl
ude -I /home/chmeee/freebsd-head/sys/contrib/libfdt -D _KERNEL -D
HAVE_KERNEL_OPTION_HEADERS -D __printf__=__freebsd_kprintf__ -isysroot
/ralga/scratch/chmeee/builds/ralga/home/chme
ee/freebsd-head/powerpc.powerpc64/tmp -O2 -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wcast-qual -Wundef -Wno-pointer-sign -Wm
issing-include-dirs -Wno-unknown-pragmas -Wno-error-tautological-compare
-Wno-error-empty-body -Wno-error-parentheses-equality
-Wno-error-unused-function -Wno-error-pointer-sign -Wn
o-error-shift-negative-value -Wno-address-of-packed-member
-Wno-format-zero-length -Werror -std=iso9899:1999 -fdebug-compilation-dir
/ralga/scratch/chmeee/builds/ralga/home/chmeee/f
reebsd-head/powerpc.powerpc64/sys/RALGA
-fdebug-prefix-map=./machine=/home/chmeee/freebsd-head/sys/powerpc/include
-ferror-limit 19 -fmessage-length 0 -fwrapv -stack-protector 1 -fn
o-signed-char -fobjc-runtime=gnustep -fdiagnostics-show-option -vectorize-loops
-vectorize-slp -faddrsig -o vm_swapout.o -x c
/home/chmeee/freebsd-head/sys/vm/vm_swapout.c          
1.      <eof> parser at end of file                             
2.Code generation
3.      Running pass 'Function Pass Manager' on module
'/home/chmeee/freebsd-head/sys/vm/vm_swapout.c'.
4.      Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on
function '@swapper'
#0 0x000000001370dfd8 PrintStackTrace
llvm-project/llvm/lib/Support/Unix/Signals.inc:533:13
#1 0x000000001370e654 llvm-project/llvm/lib/Support/Unix/Signals.inc:593:3
#2 0x000000001370b918 RunSignalHandlers
llvm-project/llvm/lib/Support/Signals.cpp:67:5
#3 0x000000001370edcc SignalHandler
llvm-project/llvm/lib/Support/Unix/Signals.inc:375:3
#4 0x00000008151f176c handle_signal
/freebsd-power9/lib/libthr/thread/thr_sig.c:248:3
cc: error: unable to execute command: Abort trap (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 9.0.1 (<a href="mailto:git@github.com">git@github.com</a>:llvm/llvm-project.git
c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>