Displaying 1 result from an estimated 1 matches for "bnd2".
Did you mean:
band2
2018 Jun 30
2
Using BuildMI to insert Intel MPX instruction BNDCU failed
Hello everyone, I'm a newbie of llvm. I'm trying to insert Intel MPX
instruction BNDCU with BuildMI. I add my machinefunctionpass
at addPreEmitPass2.
Here is the code of insertion:
BuildMI(MBB, MI, DL, TII->get(X86::BNDCU64rr)).addReg(X86::BND2,
RegState::Define).addReg(X86::R10);
And here is to stack track when I compiler program with modified llc:
/home/shenyouren/workspace/build-llvm/bin/llc -o obj/simple.s
obj/simple-opt.bc
llc: /home/shenyouren/workspace/llvm/include/llvm/ADT/SmallVector.h:154:
const T& llvm::SmallVectorTemplat...