about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Module/RaiseAsm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Module/RaiseAsm.cpp b/lib/Module/RaiseAsm.cpp
index 5d86bfd1..51d9b020 100644
--- a/lib/Module/RaiseAsm.cpp
+++ b/lib/Module/RaiseAsm.cpp
@@ -60,7 +60,8 @@ bool RaiseAsmPass::runOnInstruction(Module &M, Instruction *I) {
 
   if (triple.getArch() == llvm::Triple::x86_64 &&
       (triple.getOS() == llvm::Triple::Linux ||
-       triple.getOS() == llvm::Triple::Darwin)) {
+       triple.getOS() == llvm::Triple::Darwin ||
+       triple.getOS() == llvm::Triple::FreeBSD)) {
 
     if (ia->getAsmString() == "" && ia->hasSideEffects()) {
       IRBuilder<> Builder(I);