[PATCH] D142535: [DAGCombine] Fold redundant select

Bogdan Graur via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 07:05:10 PST 2023


bgraur added a comment.

The correct way to using a custom built libc++ is documented here: https://libcxx.llvm.org/UsingLibcxx.html#using-a-custom-built-libc

Just confirmed the miscompile reproduces with:

  ./bin/clang -nostdinc++ -nostdlib++ \
    -isystem $LLVM_INSTALL/include/c++/v1 \
    -isystem $LLVM_INSTALL/include/x86_64-unknown-linux-gnu/c++/v1 \
    -O3 \
    -o /tmp/miscompile \
    miscompile.cc \
   -L$LLVM_INSTALL/lib/x86_64-unknown-linux-gnu/  \
   -Wl,-rpath,$LLVM_INSTALL/lib/x86_64-unknown-linux-gnu \
   -lc++

  


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142535/new/

https://reviews.llvm.org/D142535



More information about the llvm-commits mailing list